I’ve been polling Google books and Open library using custom actions but all I get are blank responses even though the API test goes well when I set up the custom action.
The work well in postman and in the adalo custom actions screen.
When it’s time to use them in the app I tied them to a “refresh” button to fetch the info but I alway get blank responses. Is there some problem on the adalo side or am I doing something wrong?
I’ve been facing issues with API calls but with SendGrid. Similar to you, the API calls work fine in the Custom Action Tests but fails in the live preview for me.
I had tested my Custom Actions before in a live preview and in a published app on both Apple and Android and it worked before but it has been failing the past two days when I’m testing it.
I had tested my Custom Actions before in a live preview and in a published app on both Apple and Android and it worked before but it has been failing the past two days when I’m testing it.
My testbuild published on google play is also suffering from the same symptoms.
It’s honestly very frustrating because I started paying for pro so I could publish natively.
I just checked this API with a input and button and I inputted the ISBN number manually and after clicking the button I have the Custom action and I got the Title. I think you are getting the ISBN number through the Scanner right? After scanning you have a Create action that store the scanned number in a collection? And then Updating that record from the custom action?
@Dilon I still don’t understand what’s going on but at least it’s semi working thanks to your headsup on google books.
First I recorded this video to show you that google books won’t return a title either Dropbox Capture
But then I thought… hmmm what happens if there’s a title already in the DB… Dropbox Capture And this time google books returned a title. It seems I wasn’t testing with an ISBN that the google api liked.
If the reply from the API is empty Adalo will delete what was in that cell of the collection though.
I still don’t understand what the hell is going on though. Did openlibrary ban adalo apps from accessing it somehow? Are some queries just lost by the adalo server?
At least now I can sort of get some valid replies from google books and I can work off that.