# Authentication fails for several devices

**URL:** <https://community.homey.app/t/authentication-fails-for-several-devices/55852>\
**Category:** Questions & Help\
**Tags:** app\
**Created:** [December 1, 2021, 9:28pm UTC](https://community.homey.app/t/authentication-fails-for-several-devices/55852 "2021-12-01T21:28:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nieck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nieck/32/48210_2.png) [@Nieck](https://community.homey.app/u/Nieck)\
**Post date:** [December 1, 2021, 9:28pm UTC](https://community.homey.app/t/authentication-fails-for-several-devices/55852/1 "2021-12-01T21:28:38Z")

</div>

Since a few weeks I cannot connect any devices that need to be connected via an api anymore. For instance, when I try to connect to my Sonos devices, I get into the sonos authentication page, then redirected back to Homey and then after a while I see no devices appear.

The same problem when I try to connect to Spotify. And when I try to connect to Honeywell Lyric, I get an error after authentication as shown in the right most screenshot below.

 ![screenshots_homey_connection](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/2/12851242910a53c329072f0b5d9c7084a38d5fc0.jpeg)

It looks like there is something wrong with retreiving oauth tokens. The native apps of the suppliers are working.

I tried to delete the apps and install them again. Also a system reboot. But no success yet. I can try to do a factory reset, but I have lots of flows and don’t want to loose them. My house will get very dark these days 😅.

---

<div class="post-metadata">

**Author:** ![Nieck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nieck/32/48210_2.png) [@Nieck](https://community.homey.app/u/Nieck)\
**Post date:** [December 2, 2021, 11:28am UTC](https://community.homey.app/t/authentication-fails-for-several-devices/55852/2 "2021-12-02T11:28:11Z")

</div>

I have found the solution: I did a factory reset anyway, but I activated the backup system first. After the factory reset and putting the backup back, it worked again.
