HTTP response codes
The common set of HTTP response codes for an HTTP method from the ObjectServer HTTP interface.
Success message codes
The following table shows the common HTTP success message codes.
HTTP method | HTTP response code | Comments |
---|---|---|
GET | 200 (OK) | |
POST | 201 (Created) | The HTTP header Locationcontains the URI for the newly created resource. |
PATCH | 200 (OK) | |
DELETE | 200 (OK) |
Error message codes
The following table shows the common HTTP error message codes.
HTTP response code | Comments |
---|---|
400 | Bad Request. Check the request payload and query parameters. |
401 | Not Authorized. The request does not contain valid authentication credentials. |
403 | Access to the defined resource is denied. The authentication credentials that were used to make the connection are denied access to the resources that are specified in the request. |
404 | The requested resource was not found. The request might be deleted. |
406 | The requested accept MIME type is not supported. |
409 | Conflict. An attempt was made to insert a row that already exists. |
415 | Specified content MIME type is not supported. |
500 | Internal server error. For more information, check the RDF/XML error message payload. |