# Tidal token expires and doesn't refresh properly

**URL:** <https://community.roonlabs.com/t/tidal-token-expires-and-doesnt-refresh-properly/100478>\
**Category:** Support\
**Created:** [April 3, 2020, 8:02pm UTC](https://community.roonlabs.com/t/tidal-token-expires-and-doesnt-refresh-properly/100478 "2020-04-03T20:02:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arjun\_Luthra](https://community.roonlabs.com/letter_avatar/arjun_luthra/32/5_5575768a8748004e209b776fc1b2916d.png) [@Arjun\_Luthra](https://community.roonlabs.com/u/Arjun_Luthra)\
**Post date:** [April 3, 2020, 8:02pm UTC](https://community.roonlabs.com/t/tidal-token-expires-and-doesnt-refresh-properly/100478/1 "2020-04-03T20:02:12Z")

</div>

**Core Machine (Operating system/System info/Roon build number)**

Windows 10 1803 (17134.165)  
i7 3770k 3.5GHz  
16GB  
SSD  
Roon: 1.7 build 528 64 bit

**Network Details (Including networking gear model/manufacturer and if on WiFi/Ethernet)**

Ubiquiti Unifi wifi end points, mix of Ubiquiti and Netgear switches. My server is plugged in to gigabit ethernet and the endpoint I’m trying to play from is on the same switch also plugged in.

I do have a pihole setup at home and verified that nothing is being blocked. The upstream is configured as OpenDNS: [https://docs.pi-hole.net/guides/upstream-dns-providers/](https://docs.pi-hole.net/guides/upstream-dns-providers/)

**Audio Devices (Specify what device you’re using and its connection type - USB/HDMI/etc.)**

This issue happens regardless of endpoint, my current one is a Windows PC running Roon (different than the Core). Also happens on Bluesound devices.

**Description Of Issue**

The Roon connection to Tidal goes down at some point which leads to a continuous playbar and Tidal song not playing. In addition, when trying to play a library song after to the same end point does not work either. I have to transfer to another endpoint and then bring back to this one to unblock the current zone.

Upon digging in to the logs I see:

```auto
04/03 12:50:56 Warn: [tidal/http] GET https://api.tidal.com/v1/tracks/nn/playbackinfopostpaywall?countryCode=US&audioquality=HI_RES&assetpresentation=FULL&playbackmode=STREAM => Unauthorized {"status":401,"subStatus":11003,"userMessage":"The token has expired. (Expired on time)"}
04/03 12:50:56 Info: [tidal] got token expired. refreshing token
04/03 12:50:56 Warn: [tidal/http] GET https://api.tidal.com/v1/tracks/nn/playbackinfopostpaywall?countryCode=US&audioquality=HI_RES&assetpresentation=FULL&playbackmode=STREAM => Unauthorized {"status":401,"subStatus":11003,"userMessage":"The token has expired. (Expired on time)"}
04/03 12:50:56 Info: [tidal] got token expired. refreshing token

```

And from a few days ago:

```auto
Line 16432: 04/02 07:35:03 Trace: [tidal/storage] sync force=False
Line 16433: 04/02 07:35:03 Trace: [tidal/storage] scan 164: starting
Line 16434: 04/02 07:35:03 Warn: [tidal/http] GET https://api.tidal.com/v1/users/nnnnn/favorites?countryCode=US => Unauthorized {"status":401,"subStatus":11003,"userMessage":"The token has expired. (Expired on time)"}
Line 16435: 04/02 07:35:03 Info: [tidal] got token expired. refreshing token

Line 17314: 04/02 09:35:03 Trace: [tidal/storage] sync force=False
Line 17315: 04/02 09:35:03 Trace: [tidal/storage] sync requested, but another is in progress. Ignoring request
Line 17801: 04/02 09:49:17 Warn: [tidal/http] GET https://api.tidal.com/v1/tracks/nnnnn/playbackinfopostpaywall?countryCode=US&audioquality=HI_RES&assetpresentation=FULL&playbackmode=STREAM => Unauthorized {"status":401,"subStatus":11003,"userMessage":"The token has expired. (Expired on time)"}
Line 17802: 04/02 09:49:17 Info: [tidal] got token expired. refreshing token
Line 20079: 04/02 10:45:37 Warn: [tidal/http] GET https://api.tidal.com/v1/tracks/nnnnn/playbackinfopostpaywall?countryCode=US&audioquality=HI_RES&assetpresentation=FULL&playbackmode=STREAM => Unauthorized {"status":401,"subStatus":11003,"userMessage":"The token has expired. (Expired on time)"}
Line 20080: 04/02 10:45:37 Info: [tidal] got token expired. refreshing token
Line 20153: 04/02 10:45:39 Warn: [tidal/http] GET https://api.tidal.com/v1/tracks/nnnnn/playbackinfopostpaywall?countryCode=US&audioquality=HI_RES&assetpresentation=FULL&playbackmode=STREAM => Unauthorized {"status":401,"subStatus":11003,"userMessage":"The token has expired. (Expired on time)"}
Line 20154: 04/02 10:45:39 Info: [tidal] got token expired. refreshing token
Line 20166: 04/02 10:45:59 Warn: [tidal/http] GET https://api.tidal.com/v1/tracks/nnnnn/playbackinfopostpaywall?countryCode=US&audioquality=HI_RES&assetpresentation=FULL&playbackmode=STREAM => Unauthorized {"status":401,"subStatus":11003,"userMessage":"The token has expired. (Expired on time)"}
Line 20167: 04/02 10:45:59 Info: [tidal] got token expired. refreshing token
Line 20183: 04/02 10:45:59 Warn: [tidal/http] GET https://api.tidal.com/v1/tracks/nnnnn/playbackinfopostpaywall?countryCode=US&audioquality=HI_RES&assetpresentation=FULL&playbackmode=STREAM => Unauthorized {"status":401,"subStatus":11003,"userMessage":"The token has expired. (Expired on time)"}
Line 20184: 04/02 10:45:59 Info: [tidal] got token expired. refreshing token

```

---

<div class="post-metadata">

**Author:** ![noris](https://community.roonlabs.com/user_avatar/community.roonlabs.com/noris/32/161230_2.png) [@noris](https://community.roonlabs.com/u/noris)\
**Post date:** [April 11, 2020, 4:46am UTC](https://community.roonlabs.com/t/tidal-token-expires-and-doesnt-refresh-properly/100478/3 "2020-04-11T04:46:03Z")

</div>

Hello @Arjun_Luthra,

Apologies for the delay in getting back to you and thank you for the report!

We are aware of a few similar reports regarding this trace and I have filed a ticket with QA and the devs for further infestigation.

Can I please ask that you send me your full log package via a Dropbox / Google Drive link? Thanks!

---

<div class="post-metadata">

**Author:** ![nuwriy](https://community.roonlabs.com/letter_avatar/nuwriy/32/5_5575768a8748004e209b776fc1b2916d.png) [@nuwriy](https://community.roonlabs.com/u/nuwriy)\
**Post date:** [April 22, 2020, 12:52am UTC](https://community.roonlabs.com/t/tidal-token-expires-and-doesnt-refresh-properly/100478/4 "2020-04-22T00:52:45Z")

</div>

Hello @Arjun_Luthra,

We’ve just released Roon Build 536 which includes changes that we believe will help improve things here. Please give Roon an update on all of your devices and let us know if you still have any trouble!

You can read the full release notes here:

> [@Roon 1.7 (Build 536) is Live!](https://community.roonlabs.com/t/roon-1-7-build-536-is-live/102991):
>
> Hi everyone! Another release is rolling out now, with new functionality and a number of bug fixes and performance improvements. Auto Sleep Roon Build 536 includes Auto Sleep, which automatically puts supported devices into “standby” mode if you haven’t played anything recently. And after going into standby, your device can easily be “woken up” just by playing content in Roon. This setting will work with Roon Ready devices that meet the above criteria, as well as devices from Devialet, Linn, a…

Thanks,  
_The Team At Roon Labs_

---

<div class="post-metadata">

**Author:** ![Arjun\_Luthra](https://community.roonlabs.com/letter_avatar/arjun_luthra/32/5_5575768a8748004e209b776fc1b2916d.png) [@Arjun\_Luthra](https://community.roonlabs.com/u/Arjun_Luthra)\
**Post date:** [May 5, 2020, 1:20am UTC](https://community.roonlabs.com/t/tidal-token-expires-and-doesnt-refresh-properly/100478/5 "2020-05-05T01:20:26Z")

</div>

Thanks nuwriy!

I’ve updated and have had no issues since. Will keep an eye out but I am hopeful! Thanks for the prompt fix!

---

<div class="post-metadata">

**Author:** ![system](https://roon-community-uploads.s3.amazonaws.com/original/3X/d/e/deefbd9083c99c82bbf2dd3f873f52a49f5db881.png) [@system](https://community.roonlabs.com/u/system)\
**Post date:** [May 6, 2020, 1:20pm UTC](https://community.roonlabs.com/t/tidal-token-expires-and-doesnt-refresh-properly/100478/6 "2020-05-06T13:20:27Z")

</div>

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