Document Too large, max page is undefined #239

Closed
opened 2026-02-16 00:17:14 -05:00 by yindo · 3 comments
Owner

Originally created by @sebakthapa on GitHub (Aug 20, 2024).

Originally assigned to: @BinaryBrain on GitHub.

Error

{
    "id": "da677385-843c-44d7-8a00-cbcd52cd3d01",
    "status": "ERROR",
    "error_code": "DOCUMENT_TOO_LARGE",
    "error_message": "Document too large, max pages is :undefined."
}

Got the above error when hitting /api/parsing/upload with gpt4o_mode=true.

About the Document

size: 6.95MB
type: pdf
page_count: 232

Sending parse request without gpt4o_mode param is working fine.

Originally created by @sebakthapa on GitHub (Aug 20, 2024). Originally assigned to: @BinaryBrain on GitHub. # Error ```json { "id": "da677385-843c-44d7-8a00-cbcd52cd3d01", "status": "ERROR", "error_code": "DOCUMENT_TOO_LARGE", "error_message": "Document too large, max pages is :undefined." } ``` Got the above error when hitting `/api/parsing/upload` with `gpt4o_mode=true`. ## About the Document size: 6.95MB type: pdf page_count: 232 Sending parse request without `gpt4o_mode` param is working fine.
yindo closed this issue 2026-02-16 00:17:14 -05:00
Author
Owner

@sebakthapa commented on GitHub (Aug 20, 2024):

I got to know about the page limit for parsing with gpt-4o is 200 from docs->limitations
My main concern is addressed but displaying undefined in error message is still something to consider.

@sebakthapa commented on GitHub (Aug 20, 2024): I got to know about the page limit for parsing with gpt-4o is 200 from [docs->limitations](https://docs.cloud.llamaindex.ai/llamaparse/limits) My main concern is addressed but displaying `undefined ` in error message is still something to consider.
Author
Owner

@BinaryBrain commented on GitHub (Aug 20, 2024):

Nice catch! I'm on it.

@BinaryBrain commented on GitHub (Aug 20, 2024): Nice catch! I'm on it.
Author
Owner

@BinaryBrain commented on GitHub (Aug 21, 2024):

This has been fixed in the code and will reflect in the next release. Limit is still 200 for multimodal.

@BinaryBrain commented on GitHub (Aug 21, 2024): This has been fixed in the code and will reflect in the next release. Limit is still 200 for multimodal.
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#239