Find answers from the community

Updated 2 months ago

Llamaparse

I get this error when I try to use gpt4o_mode=True in LlamaParse: Failed to parse the file: 744c9c95-c7fa-4855-b74b-34d79a68b37d, status: ERROR. Any ideas how to solve it?
W
n
S
10 comments
Are you passing openai API key as well?
It still fails when passing the api key
You'll need to pass
  • LlamaParse API key
  • OpenAI API key
  • Set gpt4o_mode to True
Can you confirm all three are being passed?
yes, i confirmed do all three
@pld @Logan M tagging you guys here to check on llamaparse job id .
Hi @nhay103, it looks like your PDF file is password protected. Can you confirm?
@Binary Brain It looks like the PDF file has some permission restrictions.
Attachments
Screenshot_2024-08-06_at_14.04.45.png
Screenshot_2024-08-06_at_14.06.49.png
Is there any difference when using gpt4o mode and not? I only get the error when using gpt4o.
The file is passed directly to OpenAI from llamacloud if GPT-4o is selected, maybe OpenAI is not able to open it at their side.
Yes, it's not the same pipeline and libs to extract the information. I'll see if we can do it. In the meantime, if you can remove the password from the PDF it would help.
Add a reply
Sign up and join the conversation on Discord