An overview of all Greenspark API errors.

The Greenspark API uses standard HTTP status codes to represent the result of your requests.

Successful responses

Error CodeTypeDescription
200OKThe request succeeded.
201CreatedThe request succeeded, and a new resource was created as a result. This is typically the response sent after POST requests, or some PUT requests.


Client error responses

Error CodeTypeDescription
400Bad RequestThe server cannot process the request due to something that is perceived to be a client error. For example: malformed request syntax, wrong parameter type.
401UnauthorizedIndicates a problem with your provided Greenspark API key.
403ForbiddenYou don't have the right plan to use the Greenspark API.
404Not FoundThe server can not find the requested resource. This means that the endpoint is valid but the resource itself does not exist.


Server error responses

Error CodeTypeDescription
500Internal Server ErrorThe server has encountered a situation it does not know how to handle.