APIs & Services
...
Getting Started
Error Handling

Common Errors

5min

This guide describes the reasons why functions fail, and a complete list of errors that can occur when running functions. When a function is executed and an error occurs, an error message is displayed.

Unauthorized Request or Token Expired

An "errors" message is displayed during any operation if the request is unauthorized or the token is expired.

JSON


Deprecated Field

An error with errorType: "DEPRECATED"will be returned if a field which is present in the query or mutation has been deprecated. This field will be removed at a future point in time. The query or mutation should be altered so that this field is no longer used. The message portion of the error will specify the reason for the deprecation and, where relevant, an alternative field to use. The response payload remains valid and is safe to consume.

JSON


All deprecated fields will eventually be removed from the API schema. Whilst receiving a DEPRECATED error is not fatal, it does indicate that your query will fail at a future point in time and must be adjusted.

Unknown Issue

The following the following error message is shown in case of an unknown issue:

JSON


Typo

If you mistype the name of a field or query, an error displays when you try to run the query.

JSON




Updated 08 Oct 2024
Doc contributor
Doc contributor
Did this page help you?