API Error Codes

Deko uses conventional HTTP response codes to indicate the success or failure of an API request, as per the table below.

Error CodeDescription
200The payload was signed by the Deko key / Application was successfully created.
400 Bad RequestThe server could not understand the request due to invalid syntax.
401 UnauthorisedYou must authenticate to get the requested response.
403 ForbiddenUnauthorised access to the requested resource.
The payload was not signed by the Deko key.
404 Not FoundThe requested resource could not be found. Check that the API endpoint you entered is correct and the resource exists.
405 Method Not AllowedThe request method is known by the server but has been disabled and cannot be used.
408 Request TimeoutThe request timed out, This response is sent on an idle connection.