Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Only on IOS, embed only shows preview: "the token provided isn't working."

Only on IOS, embed only shows preview: "the token provided isn't working."


Plan

Premium

Country

USA

 

Device

IPhone SE, IOS 16.1.1, IPad 5th generation IOS 16.3.1

 

Hi all! First of all I want to thank you for the cool API. I've developed a little app that loads tracks in an embedded player. It works great on my macbook pro chrome browser. The authentication flow triggers, and I'm able to load tracks in the embed as a premium user, no restrictions.

 

On the ipad and iphone, all works great until I load a track. All of the tracks load in preview mode, even when I'm logged in. 

 

I see this in the IOS console on both chrome and safari whenever I try to load a track:

 

the token provided isn't working.

 

followed by

 

created authenticated browser transport

 

In the screenshot below I'm grabbing a track and then trying to call loadUri on the enbedController. It works great on my laptop, but is behaving on IOS like I'm not a premium user. Any ideas?

 

 

Screen Shot 2023-07-02 at 9.09.04 AM.png

Reply
1 Reply

This is an expected behavior if you're using a mobile device. Keep in mind that full playback is currently available just on the desktop web when authenticated (ideally using Google Chrome). [Source: a comment by a Spotify employee]

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Suggested posts