Common error messages
The following table describes the errors you might encounter, and their common fixes:
Error Code | Description | Common fix |
---|---|---|
400 | Incorrect request. The server received a request it couldn’t understand. Often caused by typos, invalid characters, or improper syntax. | Check your request for errors and try again. |
401 | Unauthorized. | The request lacked valid authentication. Often caused if the wrong authentication type is given with the request. |
403 | Forbidden. Often caused if you don’t have the required access. This is typically due to admin rights. | Make sure you have admin status and that you are signed up to the relevant Trustpilot plan. |
404 | The server couldn’t find what you asked for. Often caused by an incorrect URL (a base URL that isn’t api.trustpilot.com or invitations-api.trustpilot.com ) or missing resource, for example; you’re searching for a consumer that does not exist. | Check your URL for typos, invalid characters or improper syntax. |
415 | Unsupported media type. | Make sure that you’ve used the correct Content-Type in your header. |
500 | Server error. | Try again in 5-15 minutes. |
501 | Request not supported. There’s no implementation for your request on the server yet. | If there’s a specific feature that you want to use, ask your Customer Success Manager when implementation on the server is expected. |