# Flight Radar 24 node stopped working again

**URL:** https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031
**Category:** General
**Created:** [14 October 2023 18:22 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031 "2023-10-14T18:22:11Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [14 October 2023 18:22 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031/1 "2023-10-14T18:22:11Z")

</div>

Hi Everyone, since the last fix in July 2023 it has worked really well.  
However something has changed again.  
It's no longer collecting data and is failing with the error - SyntaxError: Unexpected token ':'  
This started to happen in the last few days and is the same on two different installations.  
I have no idea how to fix this, anyone able to help please?

Cheers.  
Paul.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [15 October 2023 09:31 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031/2 "2023-10-15T09:31:40Z")

</div>

#node-red-contrib-flightradar24 hasn't been updated in over 3 years and after looking at the [GitHub issues page](https://github.com/kazuhitoyokoi/node-red-contrib-flightradar24/issues) you will see that it looks like flightradar24 has made some changes.

There is a possible work around in one of the issues you can try.

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [15 October 2023 11:24 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031/3 "2023-10-15T11:24:05Z")

</div>

Hi zenofmud,  
Thank you that link refers to a previous issue that I raised and was solved.  
This is a new issue.

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [15 October 2023 11:43 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031/4 "2023-10-15T11:43:53Z")

</div>

This worked for me - Thank you @khassel

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/1/71818266b4b8437eeefc93502f24b754ab0cbd68.png)

Cheers  
Fat Pilot!

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [15 October 2023 14:18 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031/5 "2023-10-15T14:18:27Z")

</div>

FWIW - both the [ADSB.one](https://github.com/ADSB-One/api/blob/main/README.md) - and [adsb.fi](http://adsb.fi) sites now have a simple http API that returns a nice JSON object.

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [15 October 2023 15:51 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031/6 "2023-10-15T15:51:49Z")

</div>

Hi dceejay,

Thanks for that,

Those sites have a lot of infighting going on at the moment so I’ll stay clear until the dust settles.

My project is located at a gliding club and requires not only ADSB but also FLARM data.

I’m not sure whether the ADSB sites gather FLARM data. The FR24 node is excellent.

Regards.

Paul Woodcock.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [15 October 2023 16:25 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031/7 "2023-10-15T16:25:02Z")

</div>

It would be nice if you explain the steps you took so anyone else wanting to use the node can get it working.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [15 October 2023 17:02 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031/8 "2023-10-15T17:02:33Z")

</div>

I thought the dust had settled - [reddit article](https://www.reddit.com/r/ADSB/comments/167lhmz/adsbfi_and_adsbone_have_joined_forces_to_create_a/?rdt=37285)

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [15 October 2023 19:35 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031/9 "2023-10-15T19:35:11Z")

</div>

Hi @zenofmud,  
You are correct I will do that.  
Cheers.  
Paul.

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [15 October 2023 19:51 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031/10 "2023-10-15T19:51:12Z")

</div>

As suggested by @zenofmud here is what I did to resolve the issue.  
I was directed to the post in the image below.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/1/71818266b4b8437eeefc93502f24b754ab0cbd68.png)

I simply edited the file - /home/pi/.node-red/node\_modules/flightradar24-client/lib/radar.js

The following line is about 8 lines down from the top.  
**I changed the line -** const endpoint = 'https://data- **live**.flightradar24.com/zones/fcgi/feed.js'  
**To be -** const endpoint = 'https://data- **cloud**.flightradar24.com/zones/fcgi/feed.js'

Saved the file, started Node-Red and all done and working.

Thanks to khassel for his help.

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [15 October 2023 20:31 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031/11 "2023-10-15T20:31:44Z")

</div>

Hi dceejay,

Here is the squabble.

[https://www.reddit.com/r/ADSB/comments/16g3o9n/statement\_from\_adsbfi\_regarding\_the\_recent/?rdt=48391](https://www.reddit.com/r/ADSB/comments/16g3o9n/statement_from_adsbfi_regarding_the_recent/?rdt=48391)

Regards.

Paul Woodcock.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [29 October 2023 20:32 UTC](https://discourse.nodered.org/t/flight-radar-24-node-stopped-working-again/82031/12 "2023-10-29T20:32:07Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
