Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
The Expert Exam is now live online! Read about the specifics and what it took to bring it to life in the blog by our very own Elizabeth Bonnell!
SOLVED

NOAA Weather API issues

Highlighted
7 - Meteor

Hi I am getting different outputs when I hit this API. Sometimes the JSON build works and sometimes it does not build anything. If anyone has any idea on why this happens I would appreciate greatly. I am attaching the workflow and the two outputs I am getting from the download tool.

 

Thanks

Matt

Highlighted
16 - Nebula
16 - Nebula

@mreinsch According to their API documentation, it looks like you can specify that you want the JSON back by adding an accept header. I've added the header in the attached. The default should be JSON anyway, so it's interesting that something funny must be going on at their end that it would ever give you non-JSON back. 

 

I also added a select tool after the JSON parse to deselect the download data since it was creating a massive temp file and slowing the process down.

 

Hope that helps!

Highlighted
7 - Meteor

Thanks @patrick_digan , should of spent more time in the documentation. This works great for me.

Highlighted
16 - Nebula
16 - Nebula

@mreinsch Glad I could help! Sometimes a set of fresh eyes is all a problem needs.  This reminded me of @MarqueeCrew's post a while back where he spent too much time trying to solve the problem himself instead of asking the community for input.

Labels