Troubleshooting

If you have any questions about how the Craft API works, please email us at hello@craft.co.

Error handling

Craft API uses the following HTTP error codes:

Error code

Error message

Meaning

200

OK

Everything went well.

401

Unauthorized

Your API key is wrong.

404

Not Found

The specified URL could not be found.

405

Method Not Allowed

You tried to access the API with an invalid method.

500

Internal Server Error

We had a problem with our server. Please contact us.

502, 503, 504

Service Unavailable

We are temporarily offline for maintenance. Please try again later.

‚Äč