node-red-contrib-apple-find-me icon indicating copy to clipboard operation
node-red-contrib-apple-find-me copied to clipboard

Error 401

Open TomsnCo opened this issue 2 years ago • 41 comments

Hello, Since today I have a 401 error on my flows, The only log is: { status: false, code: 401, data: null },

Capture d’écran 2022-10-05 à 20 53 50

TomsnCo avatar Oct 05 '22 18:10 TomsnCo

Yes i have the same problem. The error comes from the Apple Service, i can't fix it at the moment... i hope tomorrow works again.

PfisterDaniel avatar Oct 05 '22 19:10 PfisterDaniel

mmmh tried re-entering password and/or changing to "app specific password" ... that didn't help 🙈 could they possibly have locked us out of their API ? 😩

acaranta avatar Oct 06 '22 07:10 acaranta

I hope they haven't locked. This is the only one node to get datas from my phone....

dhanzseros avatar Oct 06 '22 09:10 dhanzseros

Same problem since 5-10 18:03 (Amsterdam time). Update to version 1.1.8 did not help (was stil on 1.1.5 or 6)

brinkgit avatar Oct 06 '22 10:10 brinkgit

I am getting a similar issue but Code 404 on two separate accounts. Are they linked otherwise will open a new issue?

Thanks

hijamie32 avatar Oct 07 '22 08:10 hijamie32

Getting same error, 401 on all Apple Locate Input Nodes since October 5th @ around 11:15 am CST. I also tried upgrading to 1.1.8, recreating the Nodes from Scratch, and none of that solve the issue.

OmegaQuest avatar Oct 07 '22 16:10 OmegaQuest

Seems that error 401 has something tot do with old certificates? But I don't know how to install new certificates or how to make this app loading a new certificate.

brinkgit avatar Oct 08 '22 17:10 brinkgit

No, certificates have nothing to do with it. Currently, the node is not working. Probably due to a change from Apple.

PfisterDaniel avatar Oct 08 '22 20:10 PfisterDaniel

The openHAB icloud binding also stopped working. https://github.com/openhab/openhab-addons/issues/13282 Looks like a change or problem on apples side.

Michl7 avatar Oct 09 '22 19:10 Michl7

Did anyone find a solution for the node-red-contrib-apple-find-me error message 401 - Not authorised

rmds2000 avatar Oct 10 '22 09:10 rmds2000

Really sad it was a good node

rmds2000 avatar Oct 10 '22 09:10 rmds2000

I don't know about the Find Me API's as the ICloud3 integration is still working well?

hijamie32 avatar Oct 10 '22 10:10 hijamie32

Find-my-iPhone does (as far as I know) not need 2FA. On the iCloud site you can start find-my-phone without the 2FA code.

brinkgit avatar Oct 10 '22 11:10 brinkgit

The Homeassistant ICloud and ICloud3 integrations are working well, also after this problem has occurred. As far I know these are the only solutions that remain.

edautz avatar Oct 13 '22 02:10 edautz

i modified my flows to "owntracks" so all my dashboards and logics are working again (Node-red, influxdb, grafana) https://apps.apple.com/de/app/owntracks/id692424691

pros:

  • radius per region
  • much more infos, see https://owntracks.org/booklet/tech/json/

cons:

  • must be installed on every device
  • mqtt broker needed
  • eventually battery consumption

na-am avatar Oct 13 '22 06:10 na-am

Has anyone another way to read the battery status of an ipad from within Node-Red? I don't need location, only the battery-value of that one device (an info panel on the wall, which turns its own loader power on and off. And no, shortcuts is no option)

MikeJ67 avatar Oct 15 '22 17:10 MikeJ67

Has anyone another way to read the battery status of an ipad from within Node-Red? I don't need location, only the battery-value of that one device (an info panel on the wall, which turns its own loader power on and off. And no, shortcuts is no option)

If you install Homeassistant and install ICloud (the easiest) or ICloud3 integration and install within Nodered node-red-contrib-home-assistant-websocket you can readout the Homeassistant sensors including the iCloud device battery levels, also gps positions etc. in Nodered.

edautz avatar Oct 15 '22 21:10 edautz

Hope this issue gets resolved/work around soon. I dont use Homeassistant and only Node-Red and MQTT but need the GPS (Coordinates) for Family Tracking. I've tried OwnTracks but not a fan of it due to Battery Drain and an additional app that needs to be installed and maintained.

OmegaQuest avatar Oct 17 '22 13:10 OmegaQuest

Anyone any kind of solution?

brinkgit avatar Oct 27 '22 11:10 brinkgit

Looks like they already work on the icloud binding for openhab ( https://github.com/openhab/openhab-addons/issues/13282 )which also not working anymore. So i think a rework of the node needs to happen.

Michl7 avatar Oct 27 '22 16:10 Michl7

401认证报错这个问题有办法解决么?

xiaonan902198 avatar Oct 28 '22 08:10 xiaonan902198

Same issue - error 401, last worked 22 days ago.

hazymat avatar Oct 28 '22 14:10 hazymat

same issue here, still exists 03112022. Awesome Node for Find Me Message Broadcast

wizy69 avatar Nov 03 '22 04:11 wizy69

Something has changed the last few days. It was '401 not authorised', now it says 'ErrorCode: -1'.

brinkgit avatar Nov 04 '22 21:11 brinkgit

Just checked right now and it is still "401 - Not authorised".

demokedes avatar Nov 07 '22 07:11 demokedes

Right, it turned back on the 401 message on my system too.

brinkgit avatar Nov 07 '22 08:11 brinkgit

@PfisterDaniel, seem to be some progress over at https://github.com/openhab/openhab-addons/issues/13282. If it could be of any help. Thanks for your work so far of this plugin!

zyce78 avatar Nov 08 '22 04:11 zyce78

@PfisterDaniel, Any updates on this issue?

OmegaQuest avatar Dec 04 '22 18:12 OmegaQuest

Does anyone have any sort of solution for this? My programming skills are not good enough to solve this issue. Anyone else?

brinkgit avatar Dec 14 '22 10:12 brinkgit

Does anyone have any sort of solution for this? My programming skills are not good enough to solve this issue. Anyone else?

as i mentioned two month ago "owntrack" could be a alternative or if you have an apple computer running 7/24 with Node-red (FindMe App has to be started as well) you can easily grab your devices and airtags locations with the attached Node-red flows airtags_devices.json.zip

na-am avatar Dec 16 '22 12:12 na-am