Python FlightXML Program Error


#1

Hi, I copied the FlightXML Program for Python that uses SOAPpy. When I run it I am getting the following error:

not well-formed (invalid token): line 1, column 5

I use Enthought Canopy for my programs. Does anyone know how to fix this? Please Help! I need this data as soon as possible :confused:

Thanks!


#2

Your user account (RSonecha) does not have a FlightXML key. You must request an API key first for authentication.


#3

I am using a different account and username which does have an API key. I am still having the same issue :neutral_face: Any tips?


#4

Have you been able to get the stock example code without any other modifications (other than credentials) to work?

Turn on the debug mode option to SOAPpy, which will cause it to log full details of all XML that is being generated or requested. The server may be returning an error response, which SOAPpy is blindly attempting to parse as XML.