4 ms·
Very nice! But when I try to look at LAX it says: Couldn't find airport with ICAO code "KLAX". All other airports seem to work though, so this is a strange bu
by lisper 4y ago
Very nice! But when I try to look at LAX it says: Couldn't find airport with ICAO code "KLAX". All other airports seem to work though, so this is a strange bug.
- mdaniel 4y agoIt's due to what appears to be a bogus error message in the response to <https://openairportmap.org/api/airport/KLAX https://openairportmap.org/api/airport/KLAX>: "remark": "runtime error: Query timed out in \"query\" at line 6 after 29 seconds." I say bogus error message because for sure that URL did not take 29 seconds to return (221ms according to Firefox). I'd guess the query is malformed and their api interprets the error as a "timeout" instead of "error"
- lisper 4y agoHow did you find that API link?
- mdaniel 4y agoOpen the developer tools, choose the network tab, click on "XHR" to filter down the noise, type LAX into the search box, and then watch the things that change. After it presented the error message, I looked for things named KLAX in the list, clicked on that row, clicked on the Response pane and saw that silliness
- lisper 4y agoAh. Thanks.