Parsing error on API but not frontend #381

Open
opened 2026-02-16 00:17:41 -05:00 by yindo · 2 comments
Owner

Originally created by @meghajadav on GitHub (Dec 16, 2024).

Originally assigned to: @BinaryBrain on GitHub.

Describe the bug
I have incorporated Llama parse in my code with premium_mode=True. llama-index==0.11 and llama-parse=0.5.17 when I am parsing the document using llamacloud it parses the document correctly with premium mode checked but the same document when parsed using API key from the code it parses incorrectly and from the credits i can see it is not using premium mode though set premium_mode=True.

Files
If possible, please provide the PDF file causing the issue.

Job ID
If you have it, please provide the ID of the job you ran.
You can find it here: https://cloud.llamaindex.ai/parse in the "History" tab.

Client:
Please remove untested options:

  • Python Library
  • API
  • Frontend (cloud.llamaindex.ai)
  • Typescript Library
  • Notebook

Additional context
Add any additional context about the problem here.
What options did you use? Premium mode, multimodal, fast mode, parsing instructions, etc.
Screenshots, code snippets, etc.

Originally created by @meghajadav on GitHub (Dec 16, 2024). Originally assigned to: @BinaryBrain on GitHub. **Describe the bug** I have incorporated Llama parse in my code with premium_mode=True. llama-index==0.11 and llama-parse=0.5.17 when I am parsing the document using llamacloud it parses the document correctly with premium mode checked but the same document when parsed using API key from the code it parses incorrectly and from the credits i can see it is not using premium mode though set premium_mode=True. **Files** If possible, please provide the PDF file causing the issue. **Job ID** If you have it, please provide the ID of the job you ran. You can find it here: https://cloud.llamaindex.ai/parse in the "History" tab. **Client:** Please remove untested options: - Python Library - API - Frontend (cloud.llamaindex.ai) - Typescript Library - Notebook **Additional context** Add any additional context about the problem here. What options did you use? Premium mode, multimodal, fast mode, parsing instructions, etc. Screenshots, code snippets, etc.
yindo added the bug label 2026-02-16 00:17:41 -05:00
Author
Owner

@meghajadav commented on GitHub (Dec 16, 2024):

parser = LlamaParse(
api_key = os.getenv('LLAMA_PARSER_API_KEY'),
result_type='markdown',
verbose=True,
language='en',
num_workers=2,
premium_mode=True
)

@meghajadav commented on GitHub (Dec 16, 2024): parser = LlamaParse( api_key = os.getenv('LLAMA_PARSER_API_KEY'), result_type='markdown', verbose=True, language='en', num_workers=2, premium_mode=True )
Author
Owner

@BinaryBrain commented on GitHub (Dec 18, 2024):

This shouldn't happen with premium_mode=True. Can you send me the jobID of the job created by your code so I can look at the logs?

@BinaryBrain commented on GitHub (Dec 18, 2024): This shouldn't happen with `premium_mode=True`. Can you send me the jobID of the job created by your code so I can look at the logs?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#381