Error Codes
API Error Codes
The error codes listed in the following table may be returned by a request.
Error Code | HTTP status code | Description |
---|---|---|
FeatureNotSupported |
Bad Request (400) |
The requested operation is not supported for the current network configuration. |
InvalidParameter |
Bad Request (400) |
One of the request inputs is not valid. |
InvalidQueryParameter |
Bad Request (400) |
An invalid value was specified for one of the query parameters. |
MissingQueryParameter |
Bad Request (400) |
A required query parameter was not specified. |
MissingFormField |
Bad Request (400) |
A required field was not specified. |
InvalidRequestContent |
Bad Request (400) |
The value provided for the content was not in the correct format. |
MissingRequestContent |
Bad Request (400) |
A message body entity was expected but not supplied. |
UploadVirusDetected |
Bad Request (400) |
Virus detected in file upload. The file has a virus and cannot be uploaded. |
ResourceNotDeleted |
Bad Request (400) |
Unable to delete the specified resource. |
HeaderNotSupported |
Bad Request (400) |
One of the HTTP headers specified in the request is not supported. |
InvalidHeaderValue |
Bad Request (400) |
The value provided for one of the HTTP headers was not in the correct format. |
MissingRequiredHeader |
Bad Request (400) |
A required HTTP header was not specified. |
MissingApiKey |
Bad Request (400) |
The required API-key is missing. |
InvalidApiKey |
Bad Request (400) |
The provided API-key is invalid. |
MissingAuthToken |
Bad Request (400) |
The required auth token is missing. |
MissingCookie |
Bad Request (400) |
A required cookie is missing. |
NetworkNotConfigured |
Bad Request (400) |
There is no network configured for the requested domain. |
Processing |
Bad Request (400) |
The requested operation is already processing. |
FileTooLarge |
Bad Request (400) |
The file is exceeding the max file size for the requested operation. |
InvalidAuthToken |
Unauthorized (401) |
Server failed to validate the provided authentication token. |
AuthenticationFailed |
Forbidden (403) |
Server failed to authenticate the request due to various reasons. |
InsufficientPermissions |
Forbidden (403) |
The account being accessed does not have sufficient permissions to execute this operation. |
OperationNotPermitted |
Forbidden (403) |
The requested operation is not permitted. |
AccountTemporaryBlocked |
TooManyRequests (429) |
The account is temporary blocked, because too many failed login-attempts took place (blocking-period: 3 minutes). |
ResourceNotFound |
Not Found (404) |
The URI requested is invalid or the resource requested, such as a question, does not exist. |
HttpMethodNotAllowed |
MethodNotAllowed (405) |
The resource doesn't support the specified HTTP method. |
ResourceExists |
Conflict (409) |
The specified resource already exists. |
ContentTypeNotSupported |
UnsupportedMediaType (415) |
The request entity has a content type which the resource does not support. |
BulkImportFailed |
Unprocessable Entity (422) |
The bulk import was aborted because of errors. |
InvalidInput |
Unprocessable Entity (422) |
One of the request inputs is not valid. Refer to [Validation Error Codes](/api/v1/reference/error-codes/) for further details |
SearchLoading |
Service Unavailable (503) |
Search indexing is still in progress. Retry your request after the search is fully loaded. |
InternalError |
Internal Server Error (500) |
The server encountered an internal error. Please retry your request. |
ServerBusy |
Service Unavailable (503) |
The server is currently unable to receive requests. Please retry your request. |
Input Validation Error Codes
The error codes listed in the following table may be returned by a failed validation for a field.
Error Code | Description |
---|---|
RequiredField |
The field is required but was not specified. |
MaxLengthField |
The field value violated the attribute’s maximum length constraint. |
MinLengthField |
The field value violated the attribute’s minimum length constraint. |
InvalidRangeField |
The field value is out of range. |
InvalidValueField |
The field value was malformed, or its value was invalid for some other reason. |
InvalidField |
The field name is invalid. |
InvalidPasswordField |
The password supplied was incorrect. |
InvalidPasswordConfirmField |
The password confirmation supplied does not match the new password. |
InvalidPasswordLiteralField |
The password is not in the correct format |
ChangeNotPermittedField |
It's not permitted to change the specified field value |