ENUM

UserErrorCode

These error codes are returned from mutations based on the user input.

link GraphQL Schema definition

  • enum UserErrorCode {
  • # The resource has already been created.
  • ALREADY_TAKEN
  • # The action is only possible for an app admin.
  • APP_ADMIN_PERMISSION_REQUIRED
  • # The user limit has been reached for the app.
  • APP_USER_LIMIT_REACHED
  • # The value has an invalid format.
  • INVALID_FORMAT
  • # The maximum length has been exceeded.
  • MAX
  • # The resource could not be found.
  • NOT_FOUND
  • # The authenticated user does not have permission.
  • NOT_PERMITTED
  • # The verification code has expired.
  • PHONE_NUMBER_VERIFICATION_CODE_EXPIRED
  • # Too many attempts have been made to verify the code.
  • PHONE_NUMBER_VERIFICATION_LIMIT_EXCEEDED
  • # The phone number has been locked due to sending too many
  • # verification codes.
  • PHONE_NUMBER_VERIFICATION_LOCKED
  • # The value is required.
  • REQUIRED
  • # An unknown error occured.
  • UNKNOWN
  • }