When I upload files to Agents created in copilot studio, I notice that if the cumulative file size reaches about ~20MB, it errors for my side. (For new experience, shows error 502)
The files I’m trying to upload is 12MB for 1 and 8MB for the other.
It works if I upload the file, ask the agent to wait while I upload another (so 1 by 1) but that is not a good user experience, especially when this has not been an issue previously. I thought that previously it was max 16MB per file so not sure what has been updated.
The issue is likely due to the chat file upload pipeline limit, which is more restrictive than general knowledge-source upload limits. Copilot Studio documentation allows much larger files for knowledge sources, but chat-based file analysis is officially documented at around 15 MB per file for reliable use. Since your two uploads together are about 20 MB, the combined request can exceed the practical payload threshold and trigger errors such as 502, especially in the new experience. Uploading the files one by one works because each request stays within that limit. So this is most likely a current platform/request-size limitation rather than an issue with your specific files.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.