Hello,
Very little API experience here. I’m trying to set up an API using Bubble’s API Connector plugin, but apparently there’s something I don’t understand because I’m getting errors instead of answers. It works perfectly with Postman.
Can anyone help with this, or point me to a resource that will clearly instruct on how to set this up?
With POST URL: https://v2.convertapi.com/pdf/to/merge?Secret=8cAfR21ITzDr0lX8&Files[0]=http%3A%2F%2Fs3.amazonaws.com%2Fappforest_uf%2Ff1523537606118x471579978708177800%2FSEN716-D-PV-REF-13.pdf&Files[1]=http%3A%2F%2Fs3.amazonaws.com%2Fappforest_uf%2Ff1523537609208x261989824473857900%2FSEN716-D-UN2-REF-12.pdf&FileName=Turnover%20Documents&StoreFile=true
I get these parameters shown in Postman:
And this as a result:
This is how I have the connector setup in Bubble:
And this is the error I am getting:
Thanks,
George
Your formatting for the parameters is wrong. I.e. the “[Secret]” in your URL gets replaced by the Value.
When executed, your call looks like this right now:
https://v2.convertapi.com/pdf/to/merge?8cAfR21ITzDr0IX8=8cAfR21ITzDr0IX8…
This is why the api says it has no secret.
Try it like this:
https://v2.convertapi.com/pdf/to/merge?Secret=[Secret]…
1 Like
Thank you. I finally figured it out.