INVALID_FILE File cannot be read
- HTTP status
422- Credit
- No credit taken
Meaning
The file is empty, broken, over 50 megapixels, or not a JPEG / PNG / WebP image, e.g. HEIC, GIF or PDF (judged by its bytes, not its name). No credit is taken.
Fix
Save the slip as an image (a screenshot from the bank app) and send again, or send the QR text instead.
Example response
{
"type": "https://checkslip.com/problems/invalid-file",
"title": "File cannot be read",
"status": 422,
"code": "INVALID_FILE",
"instance": "/api/slips/0192d4e0-7c1a-7b3e-9f00-1a2b3c4d5e6f"
}