#OCR service unavailable

6 messages · Page 1 of 1 (latest)

still depot
#

Getting SDKError: API error occurred: Status 500 {"object":"error","message":"Service unavailable.","type":"internal_server_error","param":null,"code":"3700"}

for most files. Works for one file which is <1mb. Is this a file size issue?

hidden mango
#

could you share the file and how you are using it?

still depot
#

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

still depot
#

any update @hidden mango ?

cobalt glen
#

I can't even get the same cURL script to work now

#1348022997692321852 message

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>