Skip to main content

Errors

When an error occurs, the response body will include an errors property which contains a list of errors. For example:

{
"errors": [
{
"message": "Information about the error",
"requestId": "zXaBgp42Jal"
}
]
}

Notice that each error has a message property which provides information about the issue. The requestId is a unique value that corresponds to the request you made. Should you need to contact Kojo about the error, including the requestId will help us locate more information about the issue.

tip

Unlike REST APIs, GraphQL APIs will always return HTTP code 200. Check for the existence of the errors key in each response to see if there was a problem.