I am trying to upload a PDF (base64) file to bubble via API, I have tried the following:
1 TRY - upload via API in base64 format in a TEXT field in the database, it works well however I cant seem to make it work to download the file when using my phone! I have tried to use the following html, it works well on my computer but it doesnt work on my phone:
2 - upload via API in base64 format in a FILE field, the upload process succeed however when I try to get the file from amazon, I get the following error:
I think that the first thing to try would be to use :saved to s3 instead of base 64.
Error seem to say itâs forbidden. Do the file have private setting?
Maybe you can share screenshot of your setting from API connector to WF you are using?
I created a plugin that does this. Hopefully what youâre trying to do gets a little easier with it:
I spent a couple of frustrating days on a similar issue and after pulling most of my hair out I managed to set this up! It does URL->Base64 and Base64->Bubble S3 URL
To add it to your DB, you can use the âBase64 Upload to Bubbleâ action. This will add the file to Bubbleâs internal S3 bucket linked to your app and give you a URL to it.
Then you can do a âmake changes to a thingâ or âcreate a thingâ action with this URL in the image or file field of the thing.
I see your point. Just added an event trigger for when the URL is successfully generated - this part is internally async.
So if you run your DB modification actions in the WF triggered by this new event âURL is Generatedâ it will work.