Flight Path Nodes Unreachable When They Really Aren't

I have been working on a personal project, playing around with flight points in an addon. In Zandalar, three flight path nodes have been giving me some issues.

The three nodes in question: https://imgur.com/1G12WrD

Dreadpearl seems to be an unused flight point by both factions, according to my testing at least. If anyone knows or has some insight for what it is, I’d be interested in learning.

My bigger issue is with the other two, Atal’Gral and Devoted Sanctuary. If I talk to the flight master, I can fly to both of them, but if I grab the nodes with taxiNodes = C_TaxiMap.GetAllTaxiNodes(WorldMapFrame:GetMapID()), both nodes come up as unreachable (type == 2). Anyone know why this is? I’ve tested it across multiple characters, thinking that maybe there are two flight points with the same name/location and one is unused, but I can’t find such a duplicate. I guess this is a bug on Blizzard’s side? Any insight? Thanks!

I don’t code but as a suggestion, Devoted Sanctuary at least doesn’t initially have a flight point. You have to do some questing in order to get it phased into being a flight point. It may be worth checking some on the Alliance side to see if some of them do the same thing.

That’s the thing though, my main has done the quest and for sure has the flight point, and the only node in Devoted Sanctuary comes up as unreachable (even though I can in fact taxi to it). I’ve tested on an Alliance as well and the same thing occurs.

depending on if you want the mapid of the current world map or where the player currently is, maybe try C_Map.GetBestMapForUnit("player") for the argument?