When you submit a REST request to an endpoint, the response includes a HTTP status code. If the endpoint handled the request successfully, the response has a
200 OK status code and a the response that matches the request.
If there is a problem with the request, then the response has a different status code and a response with additional information about the error. You can use this additioal information to troubleshoot this issue.
For more information on the available HTTP status codes, see HTTP Status Codes