Data loss
Data was lost or corrupted, and the server could not recover it.
Why it happens
- Storage failed or returned data that does not make sense.
- The runtime never sends this code itself, so one you receive came from a resolver or an adapter.
What to do
- This needs an operator: check the storage and restore from a backup if needed.
What it looks like
Inside a batch, the operation's frame carries it:
json
{
"id": 1,
"error": {
"code": "data_loss",
"message": "Stored order o7 is unreadable"
},
"fin": true
}retryable appears only where it differs from the code's default, which is the one at the top of this page.
When the whole request is refused over HTTP, the answer is a problem document:
json
{
"type": "https://eddyboutros.github.io/rayfold/errors/data_loss",
"title": "data loss",
"status": 500,
"detail": "Stored order o7 is unreadable",
"code": "data_loss"
}See also all error types and the errors chapter of the specification.