Skip to main content

Look up API and error references generated from the platform

DALP 3.0 generates its API and error references from the platform, so a code your integration receives has its cause and fix in the docs.

When your integration receives an error code, your developers find its cause and fix in the docs under the same DALP code and message the API returned. A reference updated by hand drifts from the product, leaving developers debugging against stale pages. DALP 3.0 generates its API and error references from its own contract and error registry, and gives each system one name across the docs.

The references come from the platform's own contract and error registry

The interactive API reference and its OpenAPI specification come from the contract the platform runs on. Each error page lists the message, cause, fix and retryability the platform returns for that code.

API reference
Served at /api/v2
Platform API errors
599 codes with fix and retryability
Contract errors
Each revert with its cause
Names
One per platform system

Before and after

Before 3.0: an integrator who received an error code searched pages written by hand, and a page could describe an older message or miss a code. Different pages used different names for the same part of the platform.

With 3.0: the API and error references are generated from DALP itself, so a DALP- code in a response has an entry with the same message. The docs use one name for each system throughout.

Where the DALP 3.0 API and error references come from.The API contract the platform serves produces the API reference, and the error registry produces the error references, so both match what an integration receives.Where the DALP 3.0 API and error references come from.The API contract the platform serves produces the API reference, and the error registry produces the error references, so both match what an integration receives.

The platform's API contract produces the API reference, and its error registry produces the error references, so both match what an integration receives.

Find the fix for an error in the words the API used

The interactive API reference at /api/v2 and the OpenAPI specification at /api/v2/spec.json are generated from the contract the API serves, and the error references come from its error registry. The Platform API error reference lists 599 codes with their HTTP status, retryability and remediation. The contract error reference lists each on-chain revert with its message, cause, suggested fix and retryability.

An integrator reaches the API reference and the OpenAPI document from the API keys page.

When a Developer's transfer fails with DALP-4266, “Recipient not verified”, the matching entry explains that the recipient's identity lacks a required claim from a trusted issuer. The developer hands the case to the identity team instead of retrying. Because the message, why and fix are written for people, code should branch on the DALP- code and the retryable flag.

Read one name for each system across the docs

The 3.0 docs gave each DALP system one name, such as Asset Registry and Compliance & Identity, and used it on every page. A developer who meets a system in an error entry finds it under the same name in the platform overview.

Upgrading

Nothing to do. Error codes you already handle keep their meaning, and the generated references follow the platform's contract and error registry.

Why it matters

  • Banks: your developers resolve an integration error from a page that matches the response.
  • Partners: your team builds against a reference generated from the same contract the platform serves.

Next steps

Was this page helpful?