Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In addition, the HTTP status code of any unsuccessful call is taken from among the following:

HTTP error code

Meaning & use cases

400 – Bad request

Request parameters passed with the request are missing or incorrect

401 – Unauthorized

The action requires authentication and sufficient permission levels for the contact

403 – Forbidden

The action is not allowed for the current contact (not enough privileges)

404 – Not found

The resource targeted with the action does not exist

415 – Unsupported Media Type

The request is not in the correct format, or the Content-Type header is not set accordingly.

500 – Internal server error

An unforeseen server error occurred

...