https://discord.gg/botpress logo
Webchat file upload error blocks the conversation
# 🤝help
p
Hello Botpress team, I am experiencing an issue with file uploads in my Botpress Webchat. When I try to upload an image using the attachment button, the Webchat displays an “upload error” message. The same issue also occurs when I paste an image directly into the chat. After the error appears, the conversation becomes completely blocked. I cannot continue interacting with the Webchat until I reload or refresh the page. I tested the issue in two different browsers, and it occurs in both of them. I also tested it with a very small GIF file of approximately 3 KB, so the problem does not appear to be related to file size. Steps to reproduce: Open the published Webchat. Click the attachment button and select an image, or paste an image directly into the chat. Wait for the upload to complete. The Webchat displays “upload error”. Try to send another message. The conversation remains blocked until the page is reloaded. Expected behavior: The image should upload successfully, or the Webchat should allow the user to cancel the failed upload and continue the conversation. Actual behavior: The upload fails and the conversation becomes unusable until the page is refreshed. Could you please investigate this issue and let me know whether there is a known fix or any recommended workaround? I can provide screenshots, the Webchat URL, the file format, browser versions, and the date and time of the failed tests if needed. Thank you. Edge, Chrome https://cdn.discordapp.com/attachments/1549597031327342643/1549597031503241296/image.png?ex=6aab4632&is=6aa9f4b2&hm=90da97f8239b1f5edfabcb4dc2f05af0fcbb9ca0c015f6981b9e56ecdbbb2896&