FAQ

HTTP Status Code Reference

HTTP status code reference for the AnyRouter API: 503, 429, 403, 401 and 400 errors with messages and causes, to debug rate limits, quota and auth issues.

Key error-code mapping table

  • A 400 status usually indicates a parameter error — check the API reference. Most 400 errors are passed through from the upstream provider.
  • The response ID in error responses has been changed to tid (traceId), used for error tracking and troubleshooting.
HTTP Status CodeError IdentifierError MessageCommon CauseEnglish Error Message
503-Incorrect model name — check the model marketplace, or the current group has no permission to use this modelNo available channel to handle the requestIncorrect model ID. Please request to view the model page or you do not have permission to use this model
503-The model is rate-limited by the official provider — contact support to increase concurrency, or try again laterModel rate-limited by the official providerRate limited by provider – contact support to request higher concurrency or try again later.
429-Request rate exceeds the limitRequest rate exceeds the limitThe xx (xx: model id) model Too many requests; please try again later.
403insufficient_user_quotaInsufficient account balance — a top-up is requiredInsufficient account balance; top-up requiredYour account balance is insufficient. Please recharge your account to continue using the API.
403-The user has been bannedUser status disabled or blacklistedAccount suspended.
403-Operation not allowed — insufficient permissionsUser role lacks sufficient permissionsForbidden – insufficient permissions.
403-This API key can only be used from the specified IP rangesThe IP is outside the key's allowed rangesForbidden – key (last six characters of the requested key) allowed only from approved IP ranges.
403-This API key is not authorized to use the modelThe key does not support the requested modelForbidden – key (last six characters of the requested key) not authorized to access the requested model.
403-Regular users cannot specify a channelA non-admin user attempted to specify a channelKey error; (last six characters of the requested key)
403-The channel has been disabledChannel status is disabledForbidden – channel has been disabled.
401-Operation not allowed — not logged in and no access token providedNo Authorization header providedUnauthorized – no access token supplied; please log in and include a valid token.
401-Operation not allowed — invalid access tokenAccess-token validation failedUnauthorized – access token is invalid or expired.
400-Invalid channel IdChannel ID malformed or does not existBad Request – invalid channel ID.
400prompt_missingprompt is requiredImage generation request is missing a promptprompt is required
400prompt_too_longprompt is too longPrompt exceeds the length limitprompt is too long
400text_too_longinput is too longAudio input text is too longinput is too long
400size_not_supportedsize not supportedImage size not supported by the modelsize not supported
400n_not_within_rangeinvalid value of nThe n parameter is out of the valid rangeinvalid value of n