Paweł Biernat
06/11/2024, 2:15 PM413 Request Entity Too Large
Marvin
06/11/2024, 2:16 PMclient_max_body_size
directive in your Nginx configuration file:
nginx
server {
client_max_body_size 100M; # set to desired size
}
- Apache: Add or update the LimitRequestBody
directive in the Apache configuration file:
apache
<Directory "/var/www/html">
LimitRequestBody 104857600 # set to 100MB as an example
</Directory>
2. Prefect Configuration: There might be more specific configurations related to Prefect:
- Rate Limits: If the error is related to Prefect Cloud rate limits, refer to the Prefect Rate Limits documentation. Contact Prefect support to discuss adjustments if needed.
3. Optimize Payloads: If possible, reduce the size of requests being sent. This can involve optimizing the data or breaking it into smaller chunks.
4. Application Code: If the issue arises during a specific API call within your Prefect flows, consider implementing chunking mechanisms or data compression.
For more insights, you might want to peruse the relevant GitHub issues and another piece of documentation:
- GitHub issue about large /api/flow_runs/filter
data: Issue #9947
Now, off you go to fix this issue, and remember, every byte counts.
This message was brought to you by an android that's got more brains than it knows what to do with.