API Reference > Part I: Introduction > How to call a Data Marketplace API > Response body and response codes
  

Response body and response codes

When you invoke an API, the response returns one of the standard HTTP response codes with information about the success or failure of the API call.

Response body

The REST API sends a response header and response body in JSON format with information about the success or failure of the REST API call.

Response codes

The following table describes the standard response codes:
Response Code
Description
200 OK
The request is completed successfully.
201 Created
The request is completed and the new resource is created successfully.
202 Accepted
The request is accepted for processing, but is incomplete.
204
No content to send back.
400 Bad Request
The request is unprocessed because it contains missing or invalid information.
401 Unauthorized
The request is unauthorized. The authentication might be missing or invalid.
403 Forbidden
The user is unauthorized to perform this request.
404 Not Found
The request includes a resource URL that doesn't exist.
405 Method Not Allowed
The HTTP method specified in the request is unsupported for this request.
429 Too Many Requests
The user sent too many requests in a given amount of time and reached the API rate limit.
500 Internal Server Error
The server encountered an error because of which the request is unfulfilled.