Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

FlightAware API Authentication

aath1710
5 - Atom

I am trying to connect the FlightAware API to Alteryx, but can't seem to get the API Key to authenticate in the Download tool. Their website says that "Unlike previous versions of AeroAPI, authentication is now controlled by an API key that must be set in the header x-apikey". Is there a way to do this in Alteryx?

7 REPLIES 7
alexnajm
17 - Castor
17 - Castor

The API Key will come from FlightAware, not from Alteryx. Once you have it, you can add it into Alteryx as a header!

aath1710
5 - Atom

I'm sorry, my question was not clear. I have the API key (which I got from FlightAware) and have entered it using the download tool as a header (see screenshots below), but I am getting a 404 error when I run the flow. Does anyone know why I am getting this error or if there is anything else I need to do to query the API?

Screenshot 2024-12-08 081546.png

Screenshot 2024-12-08 081726.png

alexnajm
17 - Castor
17 - Castor

You haven’t specified an endpoint - please check your documentation and specify what you want to get

aath1710
5 - Atom

What does it mean to specify an endpoint? Is that essentially the Get command that I want to run?

If so, how would I enter that into this workflow?

alexnajm
17 - Castor
17 - Castor

Yes it is - you would likely add it at the end of the url, although there are multiple options so you should check with the documentation about the best option. Here an article that can help get you started: https://community.alteryx.com/t5/Engine-Works/APIs-for-Beginners-Integrate-All-the-Systems/ba-p/8074...

apathetichell
19 - Altair

you are doing this correctly -> re: adding a specific header and the apikey. 404 is page not found error -> not an authenticatoin issue. recheck your URL. is it url encoded? are you correctly sending it to the download tool. Test all of this in postman first ---> then recreate it in Alteryx.

aath1710
5 - Atom

Thanks! That worked, I just had to do that and change the % in the Postman URL to : for alteryx

Labels
Top Solution Authors