utils.getDataByObjectURL() Just Returning the URL as a string

Is this the expected output from utils.getDataByObjectURL: just the url returned as a string? This is what I am getting a result. I thought this util function is supposed to return the base64 encoded string for the image at the url? What am I doing wrong?

utils.getDataByObjectURL("https://hellopartner.retool.com/api/file/c35c31d3-ac90-4673-8093-99664a1ca5c1")

1 Like

Hey there @neilbalthaser,

I think the url most be accessible, like a blob, see here example below:

I can see your file is in your retool storage, for which you can use the relevant query to get the base64

Within the file input you can also dynamically select a file by using it's id