I am testing to the api to see if I want a paid account. I picked a flight that is en route and used my valid api key or the one listed under my account. The call is
curl -X GET “https://aeroapi.flightaware.com/aeroapi/flights/TP675” -H “Authorization: Bearer JfsdY6n_______1o2T666YeKKj””
{“title”: “Invalid API key”, “reason”: “INVALID_API_KEY”, “detail”: “Provided API key is not valid”, “status”: 401}
I just want to see if TP675 is in the air. It is pretty discouraging. Seems really basic.
Are you using the key that you have provided above? I do not see that as your key. You can find your key at AeroAPI Developer Portal - FlightAware .
I pasted an older attempt, because I have tried multiple different things. Here is one from just now
I was just able to impersonate your account and used this key to make the call for TP675 in the documentation panel without it throwing an error, so it would appear that the API key is valid and not throwing an error when trying to receive data.
AFAIK you should use x-apikey, not bearer auth.

