ios-sdk icon indicating copy to clipboard operation
ios-sdk copied to clipboard

App is going in loop mode between Spotify and my app, with logs has below error : AppRemote: Failed to establish a sesssion with error

Open rvishal1991 opened this issue 5 years ago • 6 comments

AppRemote: Failed to establish a sesssion with error: Error Domain=com.spotify.app-remote.wamp-client Code=-1001 "wamp.error.not_authorized" UserInfo={details={ message = "Token not valid."; }, NSLocalizedFailureReason=wamp.error.not_authorized}

Where we can detect this error, As the delegate method not able to capture the above error.

rvishal1991 avatar May 10 '19 06:05 rvishal1991

Hi there - I'm having the same issue. Is there an update on this? Does it have to do with bundle id's?

eanntuan avatar May 30 '19 22:05 eanntuan

Yes it has to do with the bundle id. You have to add your bundle id to your project inside on spotify's developer console https://developer.spotify.com/dashboard/applications

Also make sure you edit your info.plist properly its the step after importing the framework https://developer.spotify.com/documentation/ios/quick-start/,

Screen Shot 2019-12-09 at 7 28 20 PM

MandelbrotMan avatar Dec 10 '19 00:12 MandelbrotMan

Any news about this issue? I'm also facing it.

All my setup seems good but i'm looping between my app and Spotify

Kingamattack avatar May 02 '20 15:05 Kingamattack

Same for me

FrankFundel avatar May 09 '20 10:05 FrankFundel

The Spotify SDK seems just terrible. I have this all set up and it's authenticating and starting playback, but then I try stop the playback when authentication fails. I always have issues with this SDK and I should just take it out of my app at this point.

jkichline avatar Aug 22 '22 12:08 jkichline