Response codes
Sitecore Personalize services follow standard RESTful conventions for response codes under both normal and error conditions.
The following are response codes for create operations and update operations:
Response code |
Description |
---|---|
|
The request was successful, a new resource was created, and the response body contains the representation. The |
|
The data that was sent failed validation. Inspect the response body for details. |
|
The authorization details were incorrect. |
|
The resource was not found. |
|
The media type specified is not supported. |
|
We could not create or update the resource. Please try again. Make sure to specify |
|
Server serving request temporarily down. Try again immediately as servers are clustered. |
The following are response codes for delete operations:
Response code |
Description |
---|---|
|
The request was successful. The resource was successfully deleted. |
|
Bad request. Inspect the response body for details. |
|
The authorization details were incorrect. |
|
The resource was not found. |
|
The media type specified is not supported. |
|
We could not delete the resource. Please try again. Make sure to specify |
|
Server serving request temporarily down. Try again immediately as servers are clustered. |
The following are response codes for locate operations:
Response code |
Description |
---|---|
|
The request was successful, and the response body contains the list. |
|
The data that was sent failed validation. Inspect the response body for details. |
|
The authorization details were incorrect. |
|
The resource was not found. |
|
The media type specified is not supported. |
|
We could not fetch the resource. Please try again. Make sure to specify |
|
Server serving request temporarily down. Try again immediately as servers are clustered. |
The following are the attributes contained in the response:
Attribute |
Description |
---|---|
|
The corresponding HTTP status code. |
|
An error code that can be used to obtain more information. |
|
A simple, easy to understand message that you can show directly to your application end-user. |
|
A clear, plain-text explanation with technical details that assists a developer calling the APIs. |
|
A fully qualified URL that might be accessed to obtain more information about the error. |