Thread

D
dan.carlstedt8:30 PMOpen in Slack
👋 - We're evaluating Archestra for our enterprise and I've hit a wall with a pdf upload > 10 mb. I see that I can't submit an issue on the GH repo unless I've contributed before but this seems like a simple issue to address and it would really help out our assessment.
Problem: The Next.js middleware has a hardcoded 10MB limit that blocks file uploads, even though the backend supports 50MB by default.
Evidence:
• Uploading >10MB PDFs through the UI fails with "Request body exceeded 10MB" (413 error)
• Direct curl to the backend API successfully accepts 10.7MB files - The limit is purely in the frontend middleware (middlewareClientMaxBodySize)
Fix: Add to next.config.js:
   middlewareClientMaxBodySize: process.env.ARCHESTRA_MIDDLEWARE_BODY_LIMIT || '50mb'
}```
Can a contributor please open an issue for this please?

3 replies
II
Ildar Iskhakov (archestra team)8:31 PMOpen in Slack
Hi there, we have https://archestra.ai/contributor-onboard that makes the first contribution for you after you pass captcha
II
Ildar Iskhakov (archestra team)8:32 PMOpen in Slack
I'll add the issue, thank you for reporting!
👍1
MK
Matvey Kukuy (archestra team)12:05 PMOpen in Slack
Here is the one for tracking purposes: https://github.com/archestra-ai/archestra/issues/4741