service · inferred from evidence
files.upload
An SDK method for uploading files, which accepts parameters like purpose.
- mistralai Python SDK: `files.upload(purpose="ocr")` fails its own type check
How to fix mistral ocr: mistralai python sdk: `files.upload(purpose="ocr")` fails its own type check.
- files.upload fails with purpose_required / purpose_invalid (fixed in 3.3.0)
Confirmed as an SDK bug and fixed in checkout-sdk-node 3.3.0; upgrade to 3.3.0 or newer. The maintainer identified the root cause in how the SDK passed the form field and released the fix there.