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
I tried uploading a PDF with spaces in the name ("Executive Order on the Safe, Secure, and Trustworthy Development and Use of Artificial Intelligence _ The White House.pdf") using the Chatbot's UI. This failed, and the UI showed me a generic error ("Uploading files Upload failed"). Chrome's dev tools showed me it was an S3/CloudFront issue:
"Failed to load resource: the server responded with a status of 403 (Forbidden)."
Replacing the spaces with underscores in the name ("Executive_order_AI.pdf") made the error go away and the file upload.
To improve UX I would either:
Improve the UI's error message to tell users that the filename contains invalid characters (like spaces) and tells them the filename requirements.
Or even better, automatically normalize the filename before upload by replacing spaces with underscores, truncating if needed, and applying other necessary transformations for S3 compatibility.
The text was updated successfully, but these errors were encountered:
I tried uploading a PDF with spaces in the name ("Executive Order on the Safe, Secure, and Trustworthy Development and Use of Artificial Intelligence _ The White House.pdf") using the Chatbot's UI. This failed, and the UI showed me a generic error ("Uploading files Upload failed"). Chrome's dev tools showed me it was an S3/CloudFront issue:
"Failed to load resource: the server responded with a status of 403 (Forbidden)."
Replacing the spaces with underscores in the name ("Executive_order_AI.pdf") made the error go away and the file upload.
To improve UX I would either:
The text was updated successfully, but these errors were encountered: