Hello,
I’m having trouble using the Mindee API with the invoices v4 model.
Here are the details:
API Key: Generated from my dashboard (example: md_xxxxxxxxx)
Endpoint used:
bashCopierModifier
https://api.mindee.net/v1/products/mindee/invoices/v4/predict
cURL request tested:
bashCopierModifier
curl -X POST \ -H "Authorization: Token md_xxxxxxxxx" \ -F "document=@invoice.pdf" \ https://api.mindee.net/v1/products/mindee/invoices/v4/predict
Error returned:
jsonCopierModifier
{ "error": { "code": "Unauthorized", "message": "Authorization required", "details": "Invalid token provided" } }
Questions:
Is the API key generated in the dashboard compatible with the invoices/v4 model?
Do I need to create a specific project in my dashboard to enable this model?
Is there any difference between a general API key and a model-specific key in Mindee?
I followed the official documentation and included the Token prefix in the header, but I keep getting 401 Unauthorized.
Thanks for your help!
Please authenticate to join the conversation.
Completed
🐛 Bug Report
8 months ago

Louis Coffin
Get notified by email when there are changes.
Completed
🐛 Bug Report
8 months ago

Louis Coffin
Get notified by email when there are changes.