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
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.