Developer reference

Grant set revision conflict

← All problem types

https://filezar.io/problems/grant-set-revision-conflict

HTTP status: 409

API scope: Filezar API and applicable first-party operations

When it happens

The stored grant set cannot accept this revision: a higher revision is stored, the same revision is stored with different grants, or an operator removed the set at this revision.

What to do

Read the grant set, then send the complete desired grants with a revision higher than currentRevision. Retrying the same request does not help.

Additional fields

currentRevision (required)
The revision the stored grant set holds.
Field schema
{
  "type": "integer",
  "format": "int64"
}
reason (required)
Why the revision was refused: Stale, DifferentGrants, or RemovedByOperator. Clients must tolerate new reason values.
Field schema
{
  "type": "string"
}

Example response

Illustrative values only. Responses use application/problem+json.

{
  "type": "https://filezar.io/problems/grant-set-revision-conflict",
  "title": "Grant set revision conflict",
  "status": 409,
  "detail": "Grant set revision conflict.",
  "instance": "urn:s3explorer:trace:example-trace",
  "traceId": "example-trace",
  "spanId": "example-span",
  "currentRevision": 42,
  "reason": "Stale"
}

Every problem also uses the common response fields.

An unhandled error has occurred. Reload x