⚖ CodeLibra

Error codes catalog

This page lists all current API error codes. Each error response includes a numeric code you can match against programmatically. The first three digits map to the HTTP status class (e.g., 400xxx => HTTP 400 Bad Request).

400 Bad Request

  • 400001ArgumentMissingOrUnparseable: A required argument was not provided or could not be parsed.
  • 400002ValidationError: The request failed validation; check the message for details.
  • 400003FromMustBeNonNegative: The from parameter must be greater than or equal to 0.
  • 400004LimitMustBeNonNegative: The limit parameter must be greater than or equal to 0.
  • 400005LimitTooLarge: The limit parameter exceeds the maximum allowed value.
  • 400006UserAlreadyExists: A user with this ID already exists.
  • 400007AlreadyPaid: The item has already been paid.
  • 400008NoPaymentNecessary: No payment is required for this operation.
  • 400009EmailUpdateFailed: The e-mail update failed (client-correctable issue).
  • 400010OnlyInviteeCanAccept: Only the invited user can accept this invitation.
  • 400011ExceededMaxCsvDateRange: The requested CSV export date range exceeds the allowed maximum.
  • 400012PriceCalculationError: Price calculation failed; see message for details.
  • 400013CheckoutError: Checkout failed; see message for details.
  • 400014PasskeysAlreadyRequired: Passkeys are already required by policy.
  • 400015QueryError: The server could not process the query; see message for details.
  • 400016SubscriberRefundRequestTooLate: The refund request was submitted after the refund period and was rejected.

401 Unauthorized

  • 401001AuthenticationRequired: Authentication is required for this endpoint.

403 Forbidden

  • 403001UserUnauthorized: The user is not authorized to perform this action.
  • 403002SignInAgainRequired: Account is temporarily locked; sign in again interactively.
  • 403003UserBanned: The user is banned.
  • 403004UserSuspended: The user is suspended.
  • 403005LockedOut: This operation is locked out until a specified time.
  • 403006ElevatedSecurityRequired: Elevated security is required (passkey or recent interactive authentication per policy).
  • 403007OnlyLegalSignatoryCanSign: Only a legal signatory for the organization can sign this.
  • 403008CreateForbidden: The user is not allowed to create this resource.
  • 403009ReadForbidden: The user is not allowed to read this resource.
  • 403010UpdateForbidden: The user is not allowed to update this resource.
  • 403011DeleteForbidden: The user is not allowed to delete this resource.
  • 403012WrongPasskeyResetCode: The provided passkey reset code is incorrect.
  • 403013TwoFactorRequired: User requires 2FA verification via passkey.
  • 403014ScopeMissing: The required scope is missing from the access token.

404 Not Found

  • 404001UserNotFoundInDb: The specified user was not found in the database.
  • 404002NoActiveOffer: The requested module has no active offer.
  • 404003NotFound: The requested entity was not found.
  • 404004NoPasskeysRegistered: No passkeys are registered for this account.

409 Conflict

  • 409001PriceCalculationInvalid: The price calculation is invalid or outdated and needs to be refreshed.

422 Unprocessable Entity

  • 422001OtpVerificationFailure: One-time password (OTP) verification failed.
  • 451001AccountTermsAcceptanceRequired: You must accept the specified account terms version to proceed.

500 Internal Server Error

  • 500001UnexpectedError: An unexpected server error occurred.