invalid_image
Invalid image · HTTP 422
What it means
The image could not be decoded or breaks an image rule (pixel cap, animation, corrupt data). Also used as error.code when a file is rejected after upload.
What to do
Send a valid JPEG, PNG or WebP under 50 megapixels.
Example
{
"type": "https://platform.opis.health/docs/errors/invalid_image",
"title": "Invalid image",
"status": 422,
"detail": "…",
"code": "invalid_image",
"request_id": "req_01k68a9nytdxx0x5x0p47zgrm8"
}