Tracking flight in Europe

Hi! I am trying to do a test with this api and I found a problem.
I can check the flight info but not his route, for example:

https://flightxml.flightaware.com/json/FlightXML2/FlightInfoEx?ident=EZY2522&howMany=5&offset=0

But if I try them:
https://flightxml.flightaware.com/json/FlightXML2/DecodeFlightRoute?faFlightID=EZY2522-1519539969-airline-0029:0 I have “no data avaliable” when in the web page I can view the flight in the map. Anyone can help me?? I am trying flights from Spain (for example)

Hello,

This is a limitation of the DecodeFlightRoute endpoint:

Not all flight routes can be successfully decoded by this function, particularly if the flight is not entirely within the continental U.S. airspace, since this function only has access to navaids within that area.

Thanks! I have understand that I should use https://flightxml.flightaware.com/json/FlightXML2/GetLastTrack?ident=EZY2522
to get the latitude and longitude in order to know the current position