Error Handling

Here are some common error codes we return and their meaning:

Code

Error

Possible Causes

400

Bad Request

Input data of wrong type

401

Unauthorized

Not sending x-api-key
Invalid x-api-key

403

Forbidden

Accessing Template or Design not owned by Client
Accessing TemplateSide or DesignSide not owned by Client

404

Not Found

Accessing Template or Design that doesn't exist or was deleted
Accessing TemplateSide or DesignSide that doesn't exist or was deleted
Accessing a route that does not exist

409

Conflict

Trying to create 2 Images for the same color / side combo
Trying to create a Template with

500

Internal Server Error

We messed up or one of our downstream services messed up. Please reach out and tell us what happened!
[email protected]