The 80legs API uses standard http response codes to provide feedback on the success or failure of your API calls. Here's a quick rundown of what these response codes typically mean when using the API.
Response Code | What It Means |
---|---|
204 | It worked! |
400 | Malformed request. This often means the JSON object is not formatted correctly. |
405 | Method not allowed. This could mean you're using POST where a PUT should be. Or you're including a key in the JSON object that is incorrect. |
422 | Something you tried to upload to your account had something wrong with it. A common mistake is uploading something with the same name as something you uploaded before. |
500 | Something is wrong with our API. You shouldn't see this if we're doing everything correctly. |
503 | The API is down for maintenance. We're working on making things better! |