Skip to content

500 Internal Server Error on Organization Signup #271

Description

@danielsjoo

The server was throwing an ArrayIndexOutOfBoundsException in OrgEnrollmentStatus.java despite the frontend payload looking ok. (could be a front end issue, will investigate)

Cause: The error handling logic expects status messages to follow the format "STATUS_NAME: Description" so it can split the string by : to extract the description.
Issue: Several enum values, including FAIL_TO_CREATE, FIELD_EMPTY, and INVALID_CHARACTERS, were missing this prefix (e.g., just defined as "Could not create user...").

Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions