Errors

HTTP error codes returned by the Pact API

The Pact API uses the following error codes:

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

Search…

Start typing to search