Skip to main content
type
string
invalid_request_error
status
number
422

What happened

Events can only be submitted to claims with status OPEN. The claim you targeted has already transitioned to a terminal or in-progress state.
{
  "error": {
    "type": "invalid_request_error",
    "code": "CLAIM_NOT_OPEN",
    "message": "Claim 018e1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c is PENDING, not OPEN",
    "status": 422,
    "doc_url": "https://done.mintlify.app/errors/claim-not-open"
  }
}

Claim lifecycle

Claims follow a one-way state machine:
OPEN ──[fulfillment condition met]──→ PENDING ──[review window elapsed]──→ CONFIRMED or FAILED
     └──[activity window elapsed]───→ PENDING
Once a claim leaves OPEN, no further events can be submitted.

How to fix

Check the claim’s current status before submitting events:
curl https://api.done.app/v1/claims/<claim_id> \
  -H "Authorization: Bearer <your_token>"
If the claim is PENDING, CONFIRMED, or FAILED, you cannot submit more events to it. Create a new claim if you need to restart the process.

Common causes

A previous event satisfied the fulfillment condition and automatically transitioned the claim to PENDING. The claim is now awaiting review — no further events are accepted.
No events were submitted within the activity_window duration. The claim transitioned to PENDING automatically via a scheduled job.
If you are submitting events concurrently, a previous event may have just satisfied the condition. Fetch the claim to confirm its status, then decide whether to create a new claim.