Skip to main content
Best answer

Why can i not access the root item of a GET request?

  • January 31, 2024
  • 1 reply
  • 29 views

I have a GET request, it pulls some data in a JSON structure, with “data” as the root element.

Zapier shows this. (screenshot below), but in other tasks in the same zap, is there something I’m doing wrong? the screenshot of the issue is from the Python code task, but i can’t find it in other tasks either (such as formatter)

 

 

Best answer by Troy TessaloneBest answer by Troy Tessalone

Hi @flying_chocolate 

Zapier parses payload responses into variables to use in following action steps.

The data returned shown in your screenshot is an array of items, which is why all the same variable names get collapsed into the same variable to map.

If you want advanced control, you can make the GET request via a Code step: https://zapier.com/apps/code/help

View original
Did this topic help you find an answer to your question?

1 reply

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30939 replies
  • Answer
  • January 31, 2024

Hi @flying_chocolate 

Zapier parses payload responses into variables to use in following action steps.

The data returned shown in your screenshot is an array of items, which is why all the same variable names get collapsed into the same variable to map.

If you want advanced control, you can make the GET request via a Code step: https://zapier.com/apps/code/help