You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the share button in the open-deep-research chatbot component triggers a 413 (Payload Too Large) error from CloudFront.
This happens when trying to share agent response (usually with more than four agent steps) to Hugging Face Spaces Discussions using the share button. However, no error occurs if the agent response is small.
Error Message
413 ERROR
The request could not be satisfied.
Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error.
Generated by cloudfront (CloudFront)
Request ID: lFs_dgTYdKp1rZUj8S7bKI1lTA_4XBgccTL_KbtRDRX-D2WDIJtCcw==
Suggested Solutions
It would be helpful to have either built-in handling for large payloads or adding docs about size limitations for the share functionality.
Can we add a gr.Warning when content exceeds the shareable limits
One possible solution could be to offer a configurable parameter that allows sharing only the last N messages. However, if the agent's response is too lengthy for certain chats, sharing with N=1 might still result in a 413 Error.
Have you searched existing issues? 🔎
I have searched and found no existing issues
Reproduction
Create a Gradio chatbot with show_share_button=True
Accumulate larger chat history through conversation
Click the share button in the chatbot component
Observe the 413 error from CloudFront
Screenshot
No response
Logs
System Info
- Gradio Version: `5.16.0`
- Error is encountered on Spaces
Severity
I can work around it
The text was updated successfully, but these errors were encountered:
Describe the bug
Using the share button in the open-deep-research chatbot component triggers a 413 (Payload Too Large) error from CloudFront.
This happens when trying to share agent response (usually with more than four agent steps) to Hugging Face Spaces Discussions using the share button. However, no error occurs if the agent response is small.
Error Message
Suggested Solutions
gr.Warning
when content exceeds the shareable limitsN=1
might still result in a 413 Error.Have you searched existing issues? 🔎
Reproduction
show_share_button=True
Screenshot
No response
Logs
System Info
- Gradio Version: `5.16.0` - Error is encountered on Spaces
Severity
I can work around it
The text was updated successfully, but these errors were encountered: