Errors
HTTP error codes returned by the Pact API
The Pact API uses the following error codes:
| HTTP Status | Meaning |
|---|---|
| 400 | Bad Request -- Your request sucks |
| 401 | Unauthorized -- Your API key is wrong |
| 402 | Payment Required -- Paywoll enabled for the company, you must pay before doing API requests |
| 403 | Forbidden -- The endpoint is unavailable for you |
| 404 | Not Found -- The specified resource could not be found |
| 405 | Method Not Allowed -- You tried to access with an invalid method |
| 406 | Not Acceptable -- You requested a format that isn't json |
| 410 | Gone -- The requested resource has been removed from our servers |
| 418 | I'm a teapot |
| 429 | Too Many Requests -- You're requesting too many requests! Slow down! |
| 500 | Internal Server Error -- We had a problem with our server. Try again later. |
| 502 | Bad Gateway -- We're temporarially offline for maintanance. Please try again later. |
| 503 | Service Unavailable -- We're temporarially offline for maintanance. Please try again later. |