Skip to content

fetchRecommendedContentItemsForType returns error code 4 after successful App Remote login #472

Description

@Harper9527

I am using Spotify SPTAppRemote on iOS.

After a successful login and connection, I call the following API:

  • (void)fetchRecommendedContentItemsForType:(SPTAppRemoteContentType)contentType

                        flattenContainers:(BOOL)flattenContainers
    
                                 callback:(nullable SPTAppRemoteCallback)callback;
    

Parameters:

  • contentType: SPTAppRemoteContentTypeDefault

  • flattenContainers: false

However, the callback always returns the following error:

Error Domain=com.spotify.app-remote.wamp-client Code=-3000 "(null)"

UserInfo={

error-identifier=The operation could not be completed. (com.spotify.feature.external-integration.content-provider error 4.),

message-type=8,

error-code=4

}

The App Remote connection itself is successful, and other APIs appear to work normally.

I would like to know:

  • Is this API currently supported?

  • Does it require additional permissions/scopes?

  • Is this a known issue with the current SDK or Spotify app version?

Environment:

  • Spotify app version: 9.1.44.2119

  • iOS version: 18.6.2

  • Device: iPhone 13 Pro Max

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions