Announcements
Happy Values Week! Today we celebrate *Support* in the Spotify Stars Program!

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

Spotify iOS SDK authentication returns 'unknown_error'

Spotify iOS SDK authentication returns 'unknown_error'

Plan

Premium

Country

Argentina

Device

iPhone 15 Pro

Operating System

iOS 18.4

Spotify Version

9.0.32.638

Spotify iOS SDK Version

3.0.0

Xcode Version

16.3

 

I'm encountering persistent "unknown_error" responses when attempting to authenticate using the Spotify iOS SDK. This happens regardless of the authentication method used (both SessionManager and AppRemote approaches).

I have correctly set the ClientID and the Bundle ID on my app and the Spotify dashboard settings.

sebasec_0-1744394510196.png

When I try to authenticate, I get redirected to the Spotify App, where an X shows and takes me back to my app. I logged the callback URL, and it looks like this:

motoscreen://callback?error=unknown_error&error_description=An%20unknown%20error%20has%20occured&spotify_version=9.0.32.638

Am I missing something? Do you know if this SDK is still functional? 

 

Thanks

 

 

 

Reply
7 Replies

One thing I forgot to say is that I'm using React Native. After a lot of tries I ended trying one of the demo projects provided by the SDK and it also does not work

I'm also having the same issue.

 

_url NSURL "mymusicplayer://callback?error=unknown_error&error_description=An%20unknown%20error%20has%20occured&spotify_version=9.0.32.638" 0x0000000106324280

 

same problem

Same problem here. It was working before, but now it's not working for a new app.

I think this is due to this : https://developer.spotify.com/blog/2025-02-12-increasing-the-security-requirements-for-integrating-w.... sebasec I guess you are using react-native-spotify-remote?

That library is no longer maintained, so I decided to use React Native without Expo and integrate the Spotify SDK directly but I got stuck with this issue

There are a lot of problem with the SDK since April 9. There are a lot of post on the forum mentioning errors with the SDK for iOS and Android. Even the Demo apps from the iOS SDK is not working right now! If you have created your app on the developer dashboard before April 9 it should works. If you have create it after April 9, you can't do much for now. There is an issue open o  the GitHub repository of the iOS SDK mentioning that the Demo apps is not working with an app created after April 9, but that it is working for app created before April 9. By App I mean Spotify App created on the Developer Dashboard. Even Spotify's own Demos are not working right now. They need to fix this!

Suggested posts