Issue with LlamaParse ... #457

Closed
opened 2026-02-16 00:17:54 -05:00 by yindo · 2 comments
Owner

Originally created by @shivampuri20 on GitHub (Apr 17, 2025).

Originally assigned to: @hexapode on GitHub.

Describe the bug
I'm getting error 'detail': 'Vendor API key are only supported for parse mode parse_page_with_lvm!'} when uploading the pdf

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:
API

def upload_file(file_path):

files = {
    'max_pages': (None, '10'),
    'parse_mode': (None, 'parse_page_with_lvm'),
    'vendor_multimodal_model_name': (None, 'gemini-2.0-flash-001'),
    'vendor_multimodal_api_key': (None, 'XXXXXX'),
    'file': (os.path.basename(file_path), open(file_path, 'rb'), 'application/pdf'),
    
}
data = {
    # 'target_pages': '0,1,2'  # Specify that we only want to parse the first page,
}
response = requests.post(
    'https://api.cloud.llamaindex.ai/api/v1/parsing/upload',
    headers=headers,
    files=files,
    data=data,
    verify=False
)
print(response.json())

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 @shivampuri20 on GitHub (Apr 17, 2025). Originally assigned to: @hexapode on GitHub. **Describe the bug** I'm getting error 'detail': 'Vendor API key are only supported for parse mode parse_page_with_lvm!'} when uploading the pdf **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:** API def upload_file(file_path): files = { 'max_pages': (None, '10'), 'parse_mode': (None, 'parse_page_with_lvm'), 'vendor_multimodal_model_name': (None, 'gemini-2.0-flash-001'), 'vendor_multimodal_api_key': (None, 'XXXXXX'), 'file': (os.path.basename(file_path), open(file_path, 'rb'), 'application/pdf'), } data = { # 'target_pages': '0,1,2' # Specify that we only want to parse the first page, } response = requests.post( 'https://api.cloud.llamaindex.ai/api/v1/parsing/upload', headers=headers, files=files, data=data, verify=False ) print(response.json()) **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:54 -05:00
yindo closed this issue 2026-02-16 00:17:54 -05:00
Author
Owner

@hexapode commented on GitHub (Apr 17, 2025):

Hi!
We had an issue in production last hour that is now resolve, are you still encountering the error?

@hexapode commented on GitHub (Apr 17, 2025): Hi! We had an issue in production last hour that is now resolve, are you still encountering the error?
Author
Owner

@shivampuri20 commented on GitHub (Apr 17, 2025):

hi , issue is resolved. thankyou:)

@shivampuri20 commented on GitHub (Apr 17, 2025): hi , issue is resolved. thankyou:)
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#457