T
Typebot5mo ago
gk

Uploaded image URL

Hey, guys. I have a self hosted version of TypeBot with an AWS S3 bucket configured as the image/file repository. It's working great, but I recently discovered that the images' URL doesn't contain its file extension. Is there any way to upload the image and make its file extension to be a part of the final URL?
4 Replies
Baptiste
Baptiste4mo ago
Why do you need that?
gk
gk4mo ago
We send these messages to a third party application so it can be delivered to our users' phone via WhatsApp, and this application only render the images if the URL contains its file extension. If I paste the URL without the file extension on Discord and directly on WhatsApp, both recognize it as an image, but this third party application doesn't
Baptiste
Baptiste4mo ago
In fact, URL by default on the Web runtime contain the file extension So can you provide more details on how you execute your bot?
gk
gk4mo ago
I was doing some testing and realized that every provider we use in our application for message delivery recognizes the image, even without the file extension. It's just one of the third party Whatsapp providers that doesn't render the image. So I guess it makes more sense contacting them regarding this issue. Thanks for your time, @Baptiste.