An HTTP response containing a status code in the 2XX range, typically 200 OK, indicates that the API call was made successfully.
In case of failed API call the response body will contain an error in the following format:
JSON
{
"code": "InvalidInput",
"FriendlyDescription": "Invalid input provided.",
"TechnicalDescription": "Invalid data",
"AdditionalInformation": {
"Name": [
"Product name is not provided"
]
}
}Error response fields
Hereby a list of all the fields included in the response with extended description.
| Field | DataType | Description |
|---|---|---|
| code | string | The main error code, gives the generic error that happened. Possible values: - InvalidInput - NotFound - ProcessingError |
| FriendlyDescription | string | A friendly (localized) error description, which could be shown to the user. |
| TechnicalDescription | string | A technical error description (always in English). |
| AdditionalInformation | Dictionary<string, object> | This can contain additional information about the error. Example: which fields in the model are not correct and why. |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article