unsupported_image_type
The image is not PNG, JPEG or WebP.
| HTTP status | 415 |
code | unsupported_image_type |
| Retry? | No, fix the request first |
What it means
Section titled “What it means”We check the format by the file’s content, not by the Content-Type. SVG, GIF, HEIC and other formats are refused. SVG can carry scripts.
How to fix it
Section titled “How to fix it”Convert the image to PNG, JPEG or WebP.
Example
Section titled “Example”{ "type": "https://docs.kalender-sync.de/en/api/errors/unsupported_image_type", "title": "Unsupported media type", "status": 415, "code": "unsupported_image_type", "detail": "Use PNG, JPEG or WebP. SVG is not accepted.", "request_id": "req_…"}