-
Notifications
You must be signed in to change notification settings - Fork 290
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Currently, whenever an API call or a SQL query with payload larger than 10MB is being sent, it fails with "Oops! Service is busy, please try again later." and "org.springframework.core.io.buffer.DataBufferLimitException: Exceeded limit on max bytes to buffer" in the logs.
LOWCODER_MAX_REQUEST_SIZE, SERVER_TOMCAT_MAX_HTTP_FORM_POST_SIZE, SPRING_SERVLET_MULTIPART_MAX_FILE_SIZE are all set to much larger values than the actual payload size.
Expected Behavior
An API call/SQL query is successfully completed without any errors
Steps to reproduce
Example steps to reproduce with a File Upload component:
1 - Upload a file larger than 10MB using the File Upload component
2 - Create a rest API query/SQL query to send the fileUpload.vaue
3 - an error occurs
Environment
LowCoder 2.7.5 and 2.7.6
Additional Information
https://discord.com/channels/1096896040159957084/1436097439399542894/1446196123864924352