API Request Errors
Yottaa API calls will always return a status code of 200 if they complete successfully. A response code greater than 300, indicates an error with the API request occurred. You can see the format of the error response below:
{
error_response:{
name: "",
description: ""
},
request_info: {
query parameters and header information...
}
}
In the “error_response” object you will find the error name and description; also contained in the response will the requests headers an query parameters which can be used for debug purposes
Common Error Codes
-
400 - API request resource format is not supported
-
400 - API request is invalid
-
403 - Authentication failed, access denied
-
404 - API Call was not found
-
422 - Unprocessable entity, parameter is invalid
-
500 - Internal Error