When you use a method through the API, a code is returned to you. Here are the most common codes.
The “success” codes
Codes |
Meaning |
200 |
OK : Query success. |
201 |
Created : The resource is well created. |
204 |
No Content : The resource is correctly deleted. |
Error codes
Codes |
Meaning |
400 |
Bad Request: Either the syntax is invalid, |
401 |
Unauthorized : Authentication problem. |
404 |
Not found: The requested resource is not |
405 |
Method Not Allowed: The query is known to the |
409 |
Conflict : It is possible that the desired element already exists (a user, a group, a list that already has the same name). |
500 |
Internal Server Error : Error coming from the server. |