Hoping someone has had the same issue and can help me out. I can’t find much on it on the forum but I doubt that I am the only person with this issue.
I am using the Bubble API connector to convert part of a webpage to a PDF file using the Grabz.it RESTful API: Try GrabzIt's Free REST Screenshot and HTML Conversion API
I set up an API connection using the Bubble API connector and all is working as you would expect, except for 1 thing.
When I initialize the call it all works well. The call goes through and you get a PDF file back without any errors. So far so good.
The problem is that now when I use that API in a workflow somewhere Bubble sets an extension to the file that is .ashx. So when I store that file in my Bubble database and open it as a URL the file opens as a .ashx file instead of a PDF file.
I can’t figure out why it would work with the initialize file correctly and it doesn’t work with the use of the API afterward.
I see 2 possible solutions:
- Find out what is different in the Bubble backend that makes the Initialise call work but not subsequent calls.
- Find out how to open a file that gets stored as an .ashx file as a PDF file in Bubble.
I know that it is easy to convert them afterwards but I want my App users to be able to simply download a PDF file and don’t want them to have to struggle to figure that out.
Below is my API set up:
Some help would be much appreciated.