Progression
Why your pylon will not work in Terraria
Both ends of the trip need a usable pylon in the correct biome with enough nearby housed town NPCs.

1. Check both ends
Start near the departure pylon and open the map. Verify that the destination is also in the matching biome and has its residents nearby.
2. Wait out combat events
If the setup normally works but fails during a boss fight or invasion, return after the event ends and try the same route again.