跳到主要内容

Errors

A failed request returns a non-200 status code and a JSON body containing an error code, and additional error information where it is available.

StatusErrorDescription
400errorA general error; the description is given in the message field of the response body.
400paramsAn error has been made in the method parameters specified in the request.
400passPolicyErrorThe password specified in the request does not meet the requirements.
400portalNameEmptyThe required parameter portalName, which must be present in the request, is not specified.
400portalNameExistPortal with the portal name specified in the request has already been registered.
400portalNameIncorrectInvalid characters in the portalName parameter: only base Latin letters and digits are allowed.
400portalNameNotFoundNo portal with the portal name specified in the request has been registered.
400portalsCountTooMuchThe limit for the number of portals has been reached.
400recaptchaInvalidInvalid reCAPTCHA value has been entered.
400tooMuchAttemptsThe limit for the number of request attempts has been reached.
400tooShortErrorThe portalName specified in the request is too short: it cannot be less than 6 characters.
403authorizationAuthorization error: an unknown authorization scheme is used, or the authorization key is missing, or the authorization key time is out, or a wrong key is used.
500authorizationInternal server error when decoding the authorization key.
500registerNewTenantErrorAn error occurred while registering a new portal.
500errorAn internal server error occurred.

Validate portal name delivers these codes differently: an unavailable name comes back as a populated response body with status 400, rather than as a bare error.