FlightAware Discussions

INVALID_ARGUMENT departureTime

Hello there

When we are calling API named "GetFlightID ", It throws error “INVALID_ARGUMENT departureTime”.

URL: https://flightxml.flightaware.com/json/FlightXML2/GetFlightID
Response: INVALID_ARGUMENT departureTime

It was working fine, just getting error, no change in API call.

Can you please double check to make sure no whitespace was introduced before or after the text departureTime in your query? This is the a common cause of the INVALID_ARGUMENT response.