<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Android SDK ContentAPI.getRecommendedContentItems(&amp;quot;default&amp;quot;) crashes with ClassCastExc in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-SDK-ContentAPI-getRecommendedContentItems-quot-default/m-p/6162882#M14307</link>
    <description>&lt;P&gt;It appears that the Spotify update from&amp;nbsp;&lt;SPAN&gt;8.9.50.552 to&amp;nbsp;8.9.52.552 fixed the issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jun 2024 21:00:16 GMT</pubDate>
    <dc:creator>hufman</dc:creator>
    <dc:date>2024-06-28T21:00:16Z</dc:date>
    <item>
      <title>Android SDK ContentAPI.getRecommendedContentItems("default") crashes with ClassCastException</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-SDK-ContentAPI-getRecommendedContentItems-quot-default/m-p/6155169#M14272</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;USA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sony Xperia 5 IV&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Android 14&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Recently, Spotify App Control for Android (both 0.7.2 and 0.8.0) has stopped returning Browse results to my &lt;A href="https://github.com/BimmerGestalt/AAIdrive/blob/dd0e755ea9224be2c4d0c9572fc0cd8bbcd66d27/app/src/main/java/me/hufman/androidautoidrive/music/controllers/SpotifyAppController.kt#L760-L773" target="_self"&gt;client app&lt;/A&gt;. It seems that Spotify is returning some class descriptors that aren't able to be deserialized:&lt;/P&gt;&lt;PRE&gt;com.spotify.protocol.client.error.RemoteClientException: "java.lang.ClassCastException"&lt;BR /&gt;at com.spotify.protocol.client.RemoteWampClient.getRemoteClientException(RemoteWampClient.java:130)&lt;BR /&gt;at com.spotify.protocol.client.RemoteWampClient.access$200(RemoteWampClient.java:16)&lt;BR /&gt;at com.spotify.protocol.client.RemoteWampClient$1.onError(RemoteWampClient.java:107)&lt;BR /&gt;at com.spotify.protocol.client.WampRouterImpl.routeError(WampRouterImpl.java:75)&lt;BR /&gt;at com.spotify.protocol.client.WampRouterImpl.route(WampRouterImpl.java:46)&lt;BR /&gt;at com.spotify.protocol.client.AppProtocolCommunicator.onData(AppProtocolCommunicator.java:77)&lt;BR /&gt;at com.spotify.android.appremote.internal.RemoteServiceIo.handleMessage(RemoteServiceIo.java:108)&lt;BR /&gt;at com.spotify.android.appremote.internal.RemoteServiceIo.access$000(RemoteServiceIo.java:45)&lt;BR /&gt;at com.spotify.android.appremote.internal.RemoteServiceIo$IncomingHandler.handleMessage(RemoteServiceIo.java:86)&lt;BR /&gt;at android.os.Handler.dispatchMessage(Handler.java:106)&lt;BR /&gt;at android.os.Looper.loopOnce(Looper.java:205)&lt;BR /&gt;at android.os.Looper.loop(Looper.java:294)&lt;BR /&gt;at android.app.ActivityThread.main(ActivityThread.java:8223)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Native Method)&lt;BR /&gt;at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)&lt;BR /&gt;at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:977)&lt;/PRE&gt;&lt;P&gt;It seems other browse locations work, such as "&lt;SPAN&gt;&lt;SPAN&gt;com.spotify.your-library" and&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;"com.spotify.browse". Can someone look into why Recommended Items is no longer working?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 05:52:59 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Android-SDK-ContentAPI-getRecommendedContentItems-quot-default/m-p/6155169#M14272</guid>
      <dc:creator>hufman</dc:creator>
      <dc:date>2024-06-25T05:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK ContentAPI.getRecommendedContentItems("default") crashes with ClassCastExc</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-SDK-ContentAPI-getRecommendedContentItems-quot-default/m-p/6162882#M14307</link>
      <description>&lt;P&gt;It appears that the Spotify update from&amp;nbsp;&lt;SPAN&gt;8.9.50.552 to&amp;nbsp;8.9.52.552 fixed the issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 21:00:16 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Android-SDK-ContentAPI-getRecommendedContentItems-quot-default/m-p/6162882#M14307</guid>
      <dc:creator>hufman</dc:creator>
      <dc:date>2024-06-28T21:00:16Z</dc:date>
    </item>
  </channel>
</rss>

