> The index of all pages is at https://docs.afffast.com/llms.txt.

# resource_not_found

The resource does not exist.

HTTP status: **404**. Error type: `invalid_request_error`.

The resource does not exist.

## Example

```json
{
  "error": {
    "type": "invalid_request_error",
    "code": "resource_not_found",
    "message": "The resource does not exist.",
    "param": "id",
    "doc_url": "https://docs.afffast.com/errors/resource-not-found",
    "request_id": "req_3kQ9x7WmZpL2vNd8TfYb4A"
  }
}
```

## Causes

- The ID does not belong to an object of your workspace in the mode of your key.
- The object was deleted.
- You use a live ID with a test key, or the other way round. Test data and live data are separate.

## How to fix

- Check the ID. Use the list operation of the resource to find the right ID.
- Use a key of the same mode as the object (`sk_live_...` or `sk_test_...`).
