Error Codes
422 Error Code
This is basically a sign that we could not read the submitted JSON/XML.
Common Causes
Missing: request>.... (XML) or {"REQUEST":{.....}} (JSON)
Missing: Top level encapsulation item. e.g: .... (XML) or {"MILESTONE":{.....}} (JSON)
500 Error Code
This is a sign that something on our side didn't quite go to plan. Let us know and we'll get right on it....
Common Causes
Developer fatigue
Incorrect data sent but not caught properly
401 Error Code
Unauthorized.
Common Causes
You need to check your api key and make sure its set up correctly.
400 Error Code
This is a sign that something on your side didn't quite go to plan.
Common Causes
Bad Request - You requested an incorrect API call.
Have another peek at the documentation for the call you are making.
Rate Limit Reached - You hammered us so you're on the naughty step for a while. Check the headers of the response for X-RateLimit-Remaining and X-RateLimit-Limit.
403 Error Code
This is a sign that there is a permissions issue.
Common Causes
Bad Request - you might be using an api key which does not have permissions to perform the action you want.
404 Error Code
Not found.
Common Causes
Check the path again and make sure this is a valid api endpoint.
Feedback
If you have any feedback or suggestions, feel free to contact us at api@teamwork.com.