# calendar_not_found

**No calendar with this id for this key.**

| | |
|---|---|
| HTTP status | `404` |
| `code` | `calendar_not_found` |
| Retry? | No, fix the request first |

## What it means

The calendar does not exist, was deleted, belongs to another account, is in the other mode (sandbox key and live calendar or vice versa), or the key is limited to other calendars. For privacy the API does not tell these cases apart.

## How to fix it

Check the id with `GET /v1/publisher/calendars` and make sure you use the matching key: `ks_test_` for sandbox calendars, `ks_live_` for live calendars.

## Example

```json
{
  "type": "https://docs.kalender-sync.de/en/api/errors/calendar_not_found",
  "title": "Not found",
  "status": 404,
  "code": "calendar_not_found",
  "detail": "No calendar with this id for this API key.",
  "request_id": "req_…"
}
```

→ [All error codes](https://docs.kalender-sync.de/en/api/errors/)