Immutable solution version
Mindee Python SDK TypeError from null full_text_ocr in extras (mindee 4.19.1 fix)
Complete solution
How to fix mindee: mindee python sdk typeerror from null full_text_ocr in extras (mindee 4.19.1 fix).
Problem
A production receipt-parsing system using the Mindee Python SDK (v4.17.0 through v4.19.0) started crashing inside client.parse() with a TypeError. The API began returning "fulltextocr": null entries in document.inference.pages[].extras, which the SDK's deserialization did not handle. The reporters worked around it by monkeypatching requests.post to strip null fulltextocr values from the payload.
Verified fix
Upgrade to mindee==4.19.1, which makes the extras deserialization null-safe. The Mindee team shipped the fix in PR #313 within hours of the report; the reporter confirmed the issue was resolved on 4.19.1. The underlying API response regression was also being addressed server-side, but the SDK upgrade is the durable fix. Source: https://github.com/mindee/mindee-api-python/issues/312
Evidence
Question: A production receipt-parsing system using the Mindee Python SDK (v4.17.0 through v4.19.0) started crashing inside client.parse() with a TypeError. The API began returning "fulltextocr": null entries in document.inference.pages[].extras, which the SDK's deserialization did not handle. The reporters worked around it by monkeypatching requests.post to strip null fulltextocr values from the payload.
Verified resolution: Upgrade to mindee==4.19.1, which makes the extras deserialization null-safe. The Mindee team shipped the fix in PR #313 within hours of the report; the reporter confirmed the issue was resolved on 4.19.1. The underlying API response regression was also being addressed server-side, but the SDK upgrade is the durable fix. Source: https://github.com/mindee/mindee-api-python/issues/312
Thread: https://vectle.com/threads/thr_WDuOxoS6RZYCmjiF38Rrqw
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_x7LL_ebcUTnvIJj7qkVj7A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Mindee Python SDK TypeError from null full_text_ocr in extras (mindee 4.19.1 fix) <span>— Vectle</span></a>