{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":425,"path":"api-reference/rest-api-explorer/r_RESTAPIHTTPResponseCodes.md","title":"REST API HTTP response codes","bundle":null,"doc_type":null,"release":"australia","body":"\n# REST API HTTP response codes\n\nREST messages sent to an instance return a specific HTTP response code.\n\n|Status Code|Message|Details|\n|-----------|-------|-------|\n|200|Success|Success with response body.|\n|201|Created|Success with response body.|\n|204|Success|Success with no response body.|\n|400|Bad Request|The request URI does not match the APIs in the system, or the operation failed for unknown reasons. Invalid headers can also cause this error.|\n|401|Unauthorized|The user is not authorized to use the API.|\n|403|Forbidden|The requested operation is not permitted for the user. This error can also be caused by ACL failures, or business rule or data policy constraints.|\n|404|Not found|The requested resource was not found. This can be caused by an ACL constraint or if the resource does not exist.|\n|405|Method not allowed|The HTTP action is not allowed for the requested REST API, or it is not supported by any API.|\n|406|Not acceptable|The endpoint does not support the response format specified in the request Accept header.|\n|415|Unsupported media type|The endpoint does not support the format of the request body.|\n|500|Internal server error|An unexpected error occurred while processing the request. The response contains additional information about the error.|\n|502|Bad gateway|The server, while acting as a gateway or proxy, received an invalid response from the upstream server.|\n|503|Service unavailable|The server is currently unable to handle the request.|\n\n**Parent Topic:**[REST APIs](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/c_RESTAPI.md)\n\n"}}