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

Issue on Login Success callback Method_userPrivate.product = NULL

Issue on Login Success callback Method_userPrivate.product = NULL

Cause:

On user login(initiated by using Spotify WebAPIs)  when we receive the login success callback method we are getting the variable(declared in userPrivate class) “product as null” instead of premium.

Additional Details:
1. Spotify API - curl -X GET "https://api.spotify.com/v1/me

2. Spotify Response –

 

private SpotifyApi spotifyApi= new SpotifyApi();

private SpotifyService spotifyService;

            spotifyService = spotifyApi.getService();

            spotifyService.getMe(new Callback<UserPrivate>() {

                @Override

                public void success(UserPrivate userPrivate, retrofit.client.Response response) {

                        Note : We are getting userPrivate.product as NULL

                    }

 

3.Spotify web-api library:

compile 'com.github.kaaes:spotify-web-api-android:0.4.1'

 

Reply
0 Replies

Suggested posts