I am currently working on data extraction and trying to process a 12-page PDF document using a Pega GenAI Connect rule. However, the process consistently fails and returns a 504 Gateway Timeout error.
Is there any alternate way for data extraction in Pega?
I recommend to check the couple of things
- Are you able to extract from other documents(just to isolate the issue)?
- Confirm the model used for extraction. Ensure that you’re using the right model for your extraction.
- Confirm the size of the attachment. Couple of models has input token limitations
- Trace and check the exact error message you received
Could you please confirm if this is on Infinity 25 or 26 version?
Hi @RameshSangili
Currently, I am using Infinity 26.1 and the file size is 810KB. I tried with a different model, but the same error is coming. GenAI is not sending the response. During upload, the issue is coming.
Could yuo please check with other documents (to isolate this issue)? Since you’re talking about timeout, is the timeout happening at the LLM or Gateway? Can yu please run the tracer?
Hi @RameshSangili ,
here is the screenshot of error message
When tried with different file it is working
How big is the attachment size?
Attachment size is of 800kb.
I would recommend to create a INC ticket to check wiht the SME’s. I’ve tested with multiple attachments and it worked fine.