DIGIBIZ Reporting API ยท Sandbox

Error catalogue

The API reports every error as application/problem+json after RFC 9457. The fields:

Field Content
type Link to the matching section of this page
title Short title
status HTTP status
detail Explanation
code Fixed error code for your code to act on
request_id ID of the request. Quote it when you contact us.

Example:

{
  "type": "https://inso-reporting-sandbox.app.spdigi.biz/docs/errors#invalid-token",
  "title": "Invalid token",
  "status": 401,
  "detail": "The bearer token is missing, malformed or not valid for this API.",
  "code": "invalid-token",
  "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The list of codes is open. New codes can appear. Handle an unknown code by its HTTP status.

invalid-parameter (400)

A parameter is unknown, repeated or out of range. page_size must be a whole number from 1 to 10,000. Check the parameters against the API reference.

invalid-cursor (400)

The cursor is damaged or belongs to another query. This also happens after a version change of the API. Restart the pull from the first page.

invalid-token (401)

The token is missing, expired, too large or not valid for this API. Get a new token with the scope from the quickstart.

client-not-registered (401)

The token is valid, but the client is not registered for this API. Contact DIGIBIZ.

client-suspended (401)

The client is suspended or its registration has expired. Contact DIGIBIZ.

no-proceedings-granted (403)

The client has no proceeding granted. An empty grant never returns an empty data set. It returns this error. Contact DIGIBIZ.

proceeding-not-found (404)

A requested proceeding does not exist or is not granted to your client. The API does not tell the two cases apart on purpose. Use the keys from /v1/whoami.

not-found (404)

The path or the method is not part of the API. The API knows only GET.

epoch-changed (409)

The data was regenerated while you were pulling it page by page. The cursor belongs to the old data epoch. Drop the pages you have loaded so far and restart the whole pull.

rate-limited (429)

Your client sends too many requests, or too many at once. Wait the seconds from the Retry-After header.

internal-error (500)

An unexpected error on our side. Try again later. If the error persists, give DIGIBIZ the request_id.

maintenance (503)

The API is not ready right now. In the sandbox this usually means that the data is being regenerated. That takes a few minutes. Try again after the seconds from Retry-After. After that a new data epoch applies. Running pulls end with epoch-changed.

server-busy (503)

All query slots are taken. Try again after the seconds from Retry-After.

auth-unavailable (503)

The API cannot load the signing keys of Microsoft Entra ID right now. Your token is not the cause. Try again after the seconds from Retry-After.

timeout (504)

The query took too long. Use a smaller page_size or filter with proceeding_id.