Skip to main content
Contributor I
May 2, 2023
Answered

access denied when trying to play YouTube music

  • May 2, 2023
  • 17 replies
  • 4197 views

Hi all,

My first post and it's an odd one because I searched and found multiple instances of other people with the same issue going back years, all previous threads closed as answered but the answers don't apply to me as

1: I haven't just changed my app and

2: the updates mentioned as a fix in the other threads are also years old now.

 

So here is the issue;

I open the Sonos app( as usual), 

I click on the music note symbol at the bottom ( as usual),

I select YouTube music ( this is new, just added and confirmed, but I also tried removing and adding again but there is no issue adding the service with my YouTube account details, code generated, entered and linked seamlessly)

 

I see before me my liked songs and only one playlist, which in and of itself is odd.

 

I added a new song to the liked songs to test, and it does appear in the Sonos app under the YouTube music service/ liked songs... however…

I click on a song to play and it is greyed out, something that pops up in most of the previous threads about this issue, but , just to be sure I followed the previous accepted answer ( which related to a recent app upgrade which I haven't done, everything is already up to date), and none of that worked/ changed anything because Sonos refuses to play the grey songs, simply generating an error message saying

" access denied"

But it's not denied access to YouTube music, it is successfully linked to my YouTube account.

 

So, any ideas on what to try?

 

Steps I have taken…

Turn phone off & on.

Remove & add YouTube again and link YouTube service again.

Turn off & on router and turn off & on Sonos speakers, in various combinations.

 

The app will play from Spotify and Amazon with no problems.

 

The app plays audio books no problems.

The app will play Radio stations no problems.

There are some older tracks that are not available through my other music services, and some club remixes that I can only find on YouTube, so would very much like this to work, and I think it should, because the option to add YouTube music as a service is there.

 

My phone is all up to date, Google pixel  range on android 13, as I say works for everything but the YouTube music service through Sonos app.

 

I tried casting from YouTube music to the Sonos speakers but it cannot find them when I cast direct or try to pair from YouTube music ( I think it is only designed to cast to a computer/ tablet not speakers) but I thought I would try it that other way because I was getting nowhere doing it the Sonos way.

 

I would appreciate any ideas on how to get this feature actually working , as so far each and every song gets the same error message, and I tried newer songs too, just in case the songs were too old or random so picked a few recent pop tracks that I can play through Sonos/Spotify, but under Sonos/YouTube it is grey with the same error message " access denied"

 

Many thanks in advance for anyone willing to help,

 

M

 

 

This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.
Best answer by ZeroUm

I just had a related problem, connecting the Sonos old app to YouTube Music, it did authorize but the access to playing songs was denied.

 

I have an Youtube Premium account with two users inside it, the main one with same user as the account, with e-mail, and the second user, with only an user name and no e-mail, where this second user is the one I use to navigate and socialize inside YouTube.

 

The access denied problem happened because I was using this second sub account to connect to Sonos. To fix it, I removed all the Youtube Music accounts, and I created a new connection using the main account.

 

So if you have multiple sub accounts, perhaps even due to a Youtube Premium Family account(not my case, I just have a regular one), try connecting with the Sonos App using the main account, and not the sub accounts. It does suck because your personal playlists might be in your sub accounts, and you might not have access to them with the main account.

17 replies

Corry P
Sonos Staff
February 22, 2024

Hi @Mrssomerset et al

We’ve not had any further reports of this issue, and in our own testing, we are now unable to reproduce it - if you haven’t already, it may be a good time to test things on your own systems.

Please report back if you continue to see this issue. Thanks.

"Common sense is the collection of prejudices acquired by age eighteen." - Albert Einstein
Contributor I
February 22, 2024

Hi all,

So I received an update to my original post today so I mooched back to see what the latest was ..

9 months ago I started this thread because I saw I could add YouTube music, which I did, but all the songs were greyed out.

On advice from a kind reply, I contacted customer support and they advised that YouTube music has to be the premium version for it to work with Sonos, so I posted again, and decided to use a different service instead, because even though all my erstwhile "Google play music" tracks had moved to YouTube music , well mostly, some were lost in the Google -youtube reshuffle, but I couldn't play them on Sonos but I could on my nest speakers, so decided to leave the update and mooch off…

 

Then today, just out of interest, still without having a YouTube premium account, I saw that people were still having issues, I tried again, just to see, and now I can see some of the songs from YouTube.

They are only the ones from the Google play music to YouTube transfer so I suppose these count as " uploaded" tracks.

These are not greyed out and I can play them on Sonos now.

I still don't have access to anything else from YouTube via Sonos, but again I still don't have a YouTube premium account.

 

From what I have read above the rules seem to be:

 

1: to play anything you like from YouTube you need a YouTube premium account and must be linking the main premium account with Sonos and your playlists in YouTube must be in the main YouTube premium account for you to see/ play them.

 

2: a YouTube premium sub account doesn't work.

 

3: if you upload music to YouTube, either directly or through a merge like when Google play music merged to become YouTube music , then you can see it and play it with that YouTube account linked to Sonos even if it isn't a premium account, but only that content.

 

I am not a tekky, so please read the threads yourselves in case I have misread anything, but that is my take away from this and that the 3 points above are a YouTube driven set of rules and not a Sonos set of rules.

I do recommend speaking to their support people, I found them very patient and knowledgeable, especially with an old bat like me.

 

 

Corry P
Sonos Staff
February 23, 2024

Hi @Mrssomerset 

2: a YouTube premium sub account doesn't work.

In our own testing, this seems to no longer be an issue.

I hope this helps.

"Common sense is the collection of prejudices acquired by age eighteen." - Albert Einstein
Lyricist I
May 9, 2024

Has anyone managed to resolve this yet?

I’m having the exact same issue.

 

Linked my YouTube Premium family account to Sonos using the main account (admin account).

Everything is greyed out and denied access. Spotify and Amazon Music work fine. How can this not be fixed yet?

Corry P
Sonos Staff
May 9, 2024

Hi @I_Yush 

As we now consider this issue to be resolved, I recommend you get in touch with our technical support team who have tools at their disposal that will allow them to give you advice specific to your Sonos system and what it reports.

I hope this helps.

"Common sense is the collection of prejudices acquired by age eighteen." - Albert Einstein
Lyricist I
May 12, 2024

Thanks i’ll get in touch with them.

Contributor I
June 1, 2024

This has been an ongoing issue forever, and the new app is even worse, there is no results for youtube music when searching either, only playlist, and support is of no help, they run you around (remove and re-add integration, unintall app and reinstall, etc...) for a few hours hoping it fixes isltself.