Still Ingesting  [Go SDK]

Endpoints that display state information are not available during initial state ingestion and will return a 503 Service Unavailable/Still Ingesting error. An example is the /paths endpoint (built using offers). Such endpoints will become available after state ingestion is done (usually within a couple of minutes).

still_ingesting error will be thrown in case of:

  • if lastIngestedLedger <= 0
  • if lastIngestedLedger < latestHistoryLedger
  • if lastIngestedLedger > latestHistoryLedger
  • if version != ingest.CurrentVersion

Attributes

As with all errors Frontier returns, still_ingesting follows the Problem Details for HTTP APIs draft specification guide and thus has the following attributes:

Attribute Type Description
type URL The identifier for the error. This is a URL that can be visited in the browser.
title String A short title describing the error.
status Number An HTTP status code that maps to the error.
detail String A more detailed description of the error.

Example

{
  "type": "https://developers.digitalbits.io/frontier/reference/errors/still-ingesting.html",
  "title": "Service Unavailable",
  "status": 503,
  "detail": "Data cannot be presented because it's still being ingested. Please wait for several minutes before trying your request again."
}

Edit this doc in GitHub

THE FUTURE OF LOYALTY STARTS HERE

Stay up to date on the latest happenings at DigitalBits. Get the latest news.