Skip to main content
When Beacon can’t serve a value or a request, the Data API returns a refusal: one object that names the reason. An unavailable value is never a null, a 0 or a missing field. A null means something else: the value doesn’t apply to that row. How the two differ is on the API reference.

Status codes

Every collection declares the same three refusal responses. All three carry the refusal object below. One of the forty-seven collections answers 501 today: GET /ledger-entries. The other forty-six answer 200. Answers about the key itself, such as a missing or switched-off key or a limit reached, are listed on Build an app on the Data API. The contract doesn’t fix which status codes the Refused response covers.

The refusal object

schema_version is the public version only. It never carries Beacon’s internal version. How versions work is on Versions.

Reasons

The five reasons are fixed. A missing billing source is never a reduced mode. outside_grant carries no what_would_make_it_available, because saying so would disclose what lies beyond your access.
The refusal model is published as proposed. It is settled enough to build against and isn’t final.

Example

A read of the one collection Beacon doesn’t serve yet, and its response.

API reference

The forty-seven collections and their shared rules.

Entity scope

Narrow a read inside your grant.

Versions

How the contract version moves.