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?
Solved! Go to Solution.
The API Key will come from FlightAware, not from Alteryx. Once you have it, you can add it into Alteryx as a header!
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?
You haven’t specified an endpoint - please check your documentation and specify what you want to get
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?
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...
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.
Thanks! That worked, I just had to do that and change the % in the Postman URL to : for alteryx
User | Count |
---|---|
18 | |
15 | |
13 | |
9 | |
8 |