Error Handling

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

CodeErrorPossible Causes
400Bad RequestInput data of wrong type
401UnauthorizedNot sending x-api-key
Invalid x-api-key
403ForbiddenAccessing Template or Design not owned by Client
Accessing TemplateSide or DesignSide not owned by Client
404Not FoundAccessing 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
409ConflictTrying to create 2 Images for the same color / side combo
Trying to create a Template with
500Internal Server ErrorWe messed up or one of our downstream services messed up. Please reach out and tell us what happened!
[email protected]