T
Typebot14mo ago
Abdullah

File upload not working in public visibility

Just updated to latest version of typebot and file blocks have broken. The private visibility works file but I need public url. Upon checking the logs, and minio, the file is being uploaded to minio and the file url is retrieved by the continueChat call. The bucket policy is public FYI.
No description
No description
4 Replies
Baptiste
Baptiste14mo ago
What's your block settings? Visibility is set to Public, Private or Auto? Also, is there any error on the server?
Abdullah
AbdullahOP14mo ago
it is public. Like i said private works and it shows the link. but the public one throws this error even though the response has the url (and minio has the file uploaded) even with debug = true, there were no error logs
Baptiste
Baptiste14mo ago
Can you DM the URL from the payload? It may be an issue with the URL validation
Abdullah
AbdullahOP14mo ago
I have already verified the regex validation manually and it seems to pass but i will send you either ways

Did you find this page helpful?