Hello everyone, I am pretty new to the Make.com platform. I am trying to build my first scenario that involves an Apify Youtube scraping actor followed by a HTTP Get module to read the defaultdatasetID from Apify.
While the scenario runs fine, the HTTP GET output is empty. The GET request URL is not an issue as I have tested the URL explicitly by using the exact value coming as output from the Apify actor. Seems something is wrong in the way I have configured the GET module? Can you please help as I am stuck
HTTP GET module
** Output of HTTP GET module **
Thanks a lot.
Hi @Saurav_Chaudhury,
Welcome to the Make community. What is inside the data array?
Cheers,
Henk
Hi @Henk-Operative - Thanks for the response. Its empty inside the data array. But I have executed the URL separately and it does return the expected output. Its just not working via the GET module in Make.com
Mmm, maybe the Apify API expects a certain header in order to return the data. Maybe the response changes if you add this header (although I thought this was default):
Accept: application/json
With the HTTP module in Make, what you see is what you get. So the response from Apify is actually empty. This could be for many different reasons.
With the Make DevTool, you can see the naked API call to Apify. You can compare that to whatever client you are using that does work to see what might be different. Also check what happens if you do not pass query params.
Chrome Extension:
Make DevTool - Chrome Web Store
Tutorial:
Introduction to Make Chrome DevTool (formerly Integromat DevTool)
Thanks @Henk-Operative for the guidance. I tried the first suggestion and it still failed.
I have installed the Devtools Chrome extension, and can monitor the Apify API requests and responses now - its so cool!! I can see that the preceding Apify API call has a valid response body, but the request body of the HTTP GET module is empty. Thats why the response is empty from HTTP.
I have checked the Apify API documentation to make sure that the GET URL is correct and also am referring to the Default Dataset ID parameter. Not sure why the request body of the HTTP module becomes empty all of a sudden. Can you please advise or help me out?
Thanks so much for all the guidance so far, it has been a massive learning experience for someone like me with a very sparse technical background
Regards,
Saurav
Great to see that you are learning!
Let’s see, the request body for the HTTP module is empty, as you are sending a GET request (which do not contain a body). What do you see for that module in the request header tab? Is the right url of Apify used, including your query params? (it looks like that from the requests list, but still)
Also what does the response body look like for the HTTP module?
I see the Apify app in Make does not have a Make an API call module, which is common. Even more so, it is mandatory. I will not throw more technical things at you, but here is the documentation: Modules | Make Apps
It might be possible that we have to consider that using Apify in Make with other modules than the default one is not possible.
@samliew, sorry to tag you but I believe you have some experience with Apify, is that correct? Do you have any information about the statement above? Please excuse me if I am wrong.
Cheers,
Henk
Good Morning! I checked this first thing in the morning and wow I can see that the data has come through now in the HTTP module response body !! So happy!! It was from the last run I did last night - I am a bit confused to what happened but also very happy.
I think what happened - Earlier I was running the Apify actors asynchronously, I have made the change to synchronous. I can see that now the actor is running for a few seconds and then moving to the next module.
I have rerun the scenarios now a multiple times and its is working totally fine now!! Thanks so much for all the help!! I will keep an eye and report back if I see any issues.
Have a great day!!
Thanks
Saurav
1 Like