Skip to main content

Errors

In case of an Error during handling a user’s request, the API responds using the following schema:

{
"error": {
"code": 500,
"message": "Something bad happened",
"status": "INTERNAL"
}
}

Error Codes

The following error codes are the possible errors of all methods

ErrorCodeStatusRelated Requests
Invalid JSON400BAD REQUESTCreate Service (POST)
Not found404NOT FOUNDList One service(GET)
Service already exists409CONFLICTCreate Service (POST)
Service Invalid Argument422UNPROCCESABLE ENTITYCreate Service (POST)
Server Error500INTERNAL SERVER ERRORALL