This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Response code
Ahmed Castro edited this page Sep 7, 2018
·
1 revision
Most mod.io SDK response codes are standard HTTP just as the mod.io API.
Response | Code | Meaning |
---|---|---|
0 | Generic Error | Errors not listed above, checking the [[log file |
200 | OK | Your request was successful. |
201 | Created | Resource created, inspect Location header for newly created resource URL. |
204 | No Content | Request was successful and there was no data to be returned. |
400 | Bad request | Server cannot process the request due to malformed syntax or invalid request message framing. |
401 | Unauthorized | Your API key/access token is incorrect. |
403 | Forbidden | You do now have permission to perform the requested action. |
404 | Not Found | The resource requested could not be found. |
405 | Method Not Allowed | The method of your request is incorrect. |
406 | Not Acceptable | You supplied or requested an incorrect Content-Type. |
410 | Gone | The requested resource is no longer available. |
429 | Too Many Requests | You have made too many requests, inspect headers for reset time. |
500 | Internal Server Error | We had a problem with our server. Try again later. (rare) |
503 | Service Unavailable | We're temporarily offline for maintenance. Please try again later. (rare) |