The Mendeley Open API tries to return appropriate HTTP status codes for every request. Please check the documentation to see which status codes are returned for a specific method.
As a general guideline, here are the possible codes an API call will return:
: Success! This header is sent for GET requests together with a JSON
object containing the data requested.
201 Created: Another success header! This one is sent after a POST request has been successful.
204 No Content:
400 Bad Request: The request was invalid. An accompanying error message will explain why.
401 Unauthorized: Authentication credentials were missing or incorrect.
403 Forbidden: The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to rate limiting.
404 Not Found
: The URI
requested is invalid or the resource requested doesn't exist.
503 Service Unavailable: Mendeley is up, but something went wrong, please try again later.