What to do when the API returns an error?

First step is to check if the error code is listed here: http://rethumb.com/api. All errors have a error code: the number next to the "#" in the message.

If the message doesn't help you resolving the error contact us.