JSON Returning The Same Value Everytime?

Hello again guys, I’m working on a new workflow that is supposed to pull Instagram account information, but the JSON output for some reason always returns the same value for each item, even though the outputs are different.

Still new to this stuff with no programming background so any help would be helpful!

1 Like

First. Remove your key in here. It’s really dangerous.
I will help you after you remove that from here

2 Likes

i was just about to answer him :sweat_smile: thank you boss i would leave it for you to answer

2 Likes

You mean the API key for the HTTP request? If so I have deleted it and will create a new one

Yes, the API Key. By the way, what do you expect with the API?

Hahaha. Thanks bro, you can help him too by the way! All good!

Thanks, I didn’t realize it was visible.

So the output in JSON is perfect, it went and scraped all the data provided in the sheet but for some reason when I try to get the output appened on new rows all the “items” 0 - 30 are stuck on the first value scraped so the output just pastes the same thing 30 times. In my experience it usually understands to take the new values each time but for some reason its not working on this workflow.

Do you want to append (Create new data), or Update row?
If you want to update your sheet, (Like change scraping status), you can use Update Row operation, it just update your existing row in a sheet.

image

Nope, the goal is to have a new row created for each new item found with the scraping API but for some reason it thinks all the items are the same when I drag the JSON into the node even though the output preview on the actual API node was correct.

Ok, so… you can try to change the Instagram query search or anything else that you do.
Some api won’t change any responses, even tho you use official API. Like a google, search engine will give the best optimized site for u.