# invalid_image

**No image in the request body.**

| | |
|---|---|
| HTTP status | `400` |
| `code` | `invalid_image` |
| Retry? | No, fix the request first |

## What it means

The body of the logo or banner upload is empty.

## How to fix it

Send the image itself as the body, with curl for example `--data-binary @logo.png` (not `-d`, not as a form). → [Images](https://docs.kalender-sync.de/en/api/images/)

## Example

```json
{
  "type": "https://docs.kalender-sync.de/en/api/errors/invalid_image",
  "title": "The request is invalid",
  "status": 400,
  "code": "invalid_image",
  "detail": "Send the image as the request body with Content-Type image/png, image/jpeg or image/webp.",
  "request_id": "req_…"
}
```

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