Skip to main content
type
string
invalid_request_error
status
number
404

What happened

The customer id you provided does not match any customer in your account. This can happen if the id is wrong or the customer belongs to a different account.
{
  "error": {
    "type": "invalid_request_error",
    "code": "CUSTOMER_NOT_FOUND",
    "message": "No customer with id 018e1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c",
    "status": 404,
    "doc_url": "https://done.mintlify.app/errors/customer-not-found"
  }
}

How to fix

Call GET /v1/customers to retrieve your customers and confirm the id.
curl https://api.done.app/v1/customers \
  -H "Authorization: Bearer <your_token>"

Common causes

Customer ids are UUIDs — a single wrong character produces a 404.
Each customer is scoped to the account that created it. A token from account A cannot access customers from account B.
When creating a claim, the customer_id must belong to your account. If the customer was created by a different account, this error is returned.