Request Authorization Required


#1

Hi,

I am getting below Error while accessing Flight Aware API

"The request failed with HTTP status 401: Authorization Required”’.

We’re using C# to invoke the service, and we did not have changed anythings in our code.

My account : “rossc” .Please help,

Code:
var flightAware = new FlightXML2();

flightAware.Credentials = new NetworkCredential(“Username”, “Password”);
flightAware.PreAuthenticate = true;
flightAware.SetMaximumResultSize(100);//Exception here

Thanks,


#2

For the credentials, are you using the account password or the key?


#3

Your FlightXML 2 API key appears to be disabled. Did you manually click the “X” to disable your key on May 15 via the https://flightaware.com/commercial/flightxml/key page?


#4

It likes that: ‘47f7b1fxxxxxxxxxxxxxxxxxx’.


#5

No, we did not click “X” as above-mentioned.


#6

Please request a new API key via the link near the bottom of https://flightaware.com/commercial/flightxml/key page and use that in your application. Do not publish your API key on these forums or any other public manner.