Skip to content

Error Codes Reference

This page lists every public error code returned by the SlaunchX API. The Code column is the string returned in the code field of the error response. The HTTP column is the HTTP status code accompanying the error. The Message column is the default English message.

All error responses follow the standard Response Format with success: false.


Authentication

Errors related to login, credentials, MFA, and password operations.

CodeHTTPMessage
AUTH.INVALID_CREDENTIALS401Invalid credentials
AUTH.SESSION_NOT_FOUND404Authentication session was not found
AUTH.ACCOUNT_LOCKED403Account is locked
AUTH.ACCOUNT_SUSPENDED403Account is suspended
AUTH.ACCOUNT_REJECTED403Account registration has been rejected
AUTH.MFA_CODE_INVALID400Verification code is invalid
AUTH.MFA_SEND_COOLDOWN429Please wait before requesting another verification code
AUTH.TOO_MANY_ATTEMPTS429Too many verification attempts
AUTH.FINGERPRINT_MISMATCH403Authentication request context does not match the active session
AUTH.MFA_EMAIL_IMMUTABLE409Email verification cannot be disabled or reconfigured
AUTH.OTP_SETUP_SESSION_INVALID400OTP setup session is invalid or has expired
AUTH.PASSWORD_RESET_TOKEN_INVALID400Password reset token is invalid
AUTH.PASSWORD_RESET_TOKEN_EXPIRED400Password reset token has expired
AUTH.CURRENT_PASSWORD_INCORRECT400Current password is incorrect

Access Control

Errors related to authorization, tokens, and permissions.

CodeHTTPMessage
ACCESS.UNAUTHORIZED401Authentication required
ACCESS.TOKEN_MISSING401Authentication token is required
ACCESS.PERMISSION_DENIED403Access denied
ACCESS.RISK_CHALLENGE_REQUIRED403Additional verification is required
ACCESS.MFA_REQUIRED403Transaction MFA verification is required
ACCESS.MFA_TOKEN_EXPIRED403MFA verification token has expired
ACCESS.MFA_TOKEN_INVALID403MFA verification token is invalid
ACCESS.MFA_CHALLENGE_EXPIRED400MFA challenge has expired or was not found
ACCESS.MFA_CODE_INVALID400MFA verification code is invalid
ACCESS.MFA_TOO_MANY_ATTEMPTS429Too many MFA verification attempts
ACCESS.MFA_NOT_CONFIGURED400Multi-factor authentication is not configured for this account

Validation

Errors related to request parameters and input validation.

CodeHTTPMessage
VALIDATION.INVALID_PARAMETER400Invalid request parameters

Resource

Errors related to resource lookup.

CodeHTTPMessage
RESOURCE.NOT_FOUND404Resource not found

Request

Errors related to request handling, rate limiting, and conflicts.

CodeHTTPMessage
REQUEST.METHOD_NOT_ALLOWED405HTTP method is not allowed for this endpoint
REQUEST.RATE_LIMITED429Too many requests
REQUEST.CONFLICT409Request conflict

Secure Channel

Errors related to the Secure Channel encryption protocol.

CodeHTTPMessage
SECURE_CHANNEL.INVALID_PAYLOAD400Invalid payload format

Workspace

Errors related to workspace membership, roles, and invitations.

CodeHTTPMessage
WORKSPACE.MEMBER_ALREADY_EXISTS409User is already a workspace member
WORKSPACE.INVITATION_EXPIRED409Invitation has expired
WORKSPACE.INVITATION_ALREADY_PROCESSED409Invitation has already been processed
WORKSPACE.DUPLICATE_PENDING_INVITATION409A pending invitation already exists for this email
WORKSPACE.CROSS_INSTITUTION_INVITATION403Cross-institution invitations are not allowed
WORKSPACE.CROSS_PORTAL_ACCEPT403Cross-portal invitation acceptance is not allowed
WORKSPACE.INVITATION_CANCEL_FORBIDDEN403Only the inviter or workspace owner can cancel this invitation
WORKSPACE.ROLE_NAME_EXISTS409Workspace role name already exists
WORKSPACE.ROLE_IN_USE409Workspace role is still assigned to members
WORKSPACE.OWNER_ROLE_PROTECTED409Workspace owner role cannot be changed

Wallet

Errors related to wallet accounts and balances.

CodeHTTPMessage
WALLET.ACCOUNT.NOT_FOUND404Wallet account was not found
WALLET.INSUFFICIENT_BALANCE409Wallet balance is insufficient
WALLET.CURRENCY_NOT_SUPPORTED400Wallet currency is not supported
WALLET.RECHARGE_CHANNEL_NOT_FOUND404Recharge channel was not found

Transfer

Errors related to fund transfers.

CodeHTTPMessage
TRANSFER.WALLET_NOT_FOUND404Transfer wallet was not found
TRANSFER.CURRENCY_MISMATCH409Transfer wallets use incompatible currencies
TRANSFER.SAME_WALLET409Source and target wallet must be different
TRANSFER.TARIFF_NOT_CONFIGURED409Transfer tariff is not configured
TRANSFER.TARIFF_TENANT_MISMATCH403Transfer tariff does not belong to the active tenant

Notification

Errors related to notification channels.

CodeHTTPMessage
NOTIFICATION.CHANNEL_NOT_FOUND404Notification channel was not found
NOTIFICATION.CHANNEL_NAME_DUPLICATE409Notification channel name already exists

File

Errors related to file operations.

CodeHTTPMessage
FILE.NOT_FOUND404File was not found
FILE.SIZE_EXCEEDED400File size exceeds the allowed limit
FILE.TYPE_NOT_ALLOWED400File type is not allowed

Currency

Errors related to currency configuration.

CodeHTTPMessage
CURRENCY.CONFIG_NOT_FOUND404Currency configuration was not found
CURRENCY.CONFIG_ALREADY_EXISTS409Currency configuration already exists
CURRENCY.DISABLED409Currency is disabled

Institution

Errors related to institution management.

CodeHTTPMessage
INSTITUTION.NOT_FOUND404Institution was not found
INSTITUTION.DISABLED403Institution is disabled
INSTITUTION.ACCESS_CODE_INVALID400Institution access code is invalid

System

Catch-all errors for unexpected failures.

CodeHTTPMessage
SYSTEM.INTERNAL_ERROR500Internal server error

Error Response Example

json
{
  "version": "2.0.0",
  "timestamp": 1711929600000,
  "success": false,
  "code": "AUTH.INVALID_CREDENTIALS",
  "message": "Invalid credentials",
  "data": null
}

Notes

  • Error messages are localized based on the Accept-Language header. The messages listed above are the default English messages.
  • When success is false, the code field contains the dot-separated error code from this reference.
  • Multiple internal error conditions may map to the same public error code. For example, various password validation failures all return VALIDATION.INVALID_PARAMETER.

SlaunchX Internal Documentation