Hello community, cordial greeting.
Subject: Integrate REST API.
API: Pixabay API
AppGyver’s response: Error:
The result was not an array. Maybe the data you’re looking for is inside one of the response object keys?
Resource settings for Get collection (GET)
Relative path: undefined
Note: I appreciate an alternative to solve the problem. In advance success in your projects.
Hello, you are using GETS o GET, seem to me you are using GET, look the diference between JSON data array.
Exploring on similar topics, I managed to find a very interesting discussion.
Important: Creating a schema manually to access the response in .json is the solution.
How does the result of that formula look like if you use the debugger or paste it to an Alert node? It should be an array of objects like
though of course with more fields.
Thanks for your prompt response. I will study a solution based on your contribution. Successes.
your response array is under the key ‘hits’ .
so you can add in the ‘Response key path’ field the word hits … and it will work .
Excellent answer, it worked 100%.