Skip to content

Error codes

In case APIs are facing an error, the following JSON message is returned, together with the appropriate HTTP status code:

{
  code: 404,
  ref: "SC10201",
  message: "Entity not found"
}

The JSON message consists of three fields:

  • code: the HTTP status code
  • ref: the reference code
  • message: an human-readable message that describes the error

Please include the reference code in case you need support on the APIs.

Reference code categories

The reference codes are categorized based on the entity that are managing. For example, an error code between 10200 and 10399 refers to an error with the assets.

The following is the complete list of categories:

Start End Category Description
10000 10200 Generic
10200 10399 Assets
10400 10599 Bundles
10600 10799 Giftcards
10800 10999 Orders
11000 11199 Partners
11200 11399 Templates
11400 11599 Users
11600 11999 Unallocated
12000 12199 Authentication
12200 12399 Notifications
12400 - Unallocated