#OCR service unavailable
6 messages · Page 1 of 1 (latest)
could you share the file and how you are using it?
Here's the file (4.2mb) and here's the code i'm using in google colab notebook signed_url = client.files.get_signed_url(file_id=uploaded_pdf.id)
ocr_response = client.ocr.process(
model="mistral-ocr-latest",
document={
"type": "document_url",
"document_url": signed_url.url # No quotes around signed_url.url
},
include_image_base64=True
)
OCR service unavailable
any update @hidden mango ?
I can't even get the same cURL script to work now
In my code, I'm getting HTML replies to API responses
mistralai.models.sdkerror.SDKError: API error occurred: Status 520
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>api.mistral.ai | 520: Web server is returning an unknown error</title>