plugin.video.twitch icon indicating copy to clipboard operation
plugin.video.twitch copied to clipboard

"Followed Channels" API 410 Gone

Open Slychocobo opened this issue 1 year ago • 2 comments

Context

Please provide any relevant information about your setup

  • Add-on Version: 3.0.1
  • Kodi Version: 20.2.0
  • Kodi GUI Language: English
  • Operating System: Android (Shield TV)
  • Operating System Language: English

Expected Behavior

Selecting "followed channels" should list all channels I am subscripted to on Twitch


Current Behavior

An error is produced instead, "Error Gone, 410 This API is not available"

Debug log below


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Load Addon and add API key
  2. Select followed channels

Log

2023-09-28 17:16:15.073 T:9440    debug <general>: ------ Window Init (DialogBusy.xml) ------
2023-09-28 17:16:15.143 T:9620    debug <general>: [ script.embuary.helper ] Force widgets to refresh (AudioLibrary.OnUpdate)
2023-09-28 17:16:15.143 T:9620    debug <general>: [ script.embuary.helper ] Execute: AlarmClock(WidgetRefresh,SetProperty(EmbuaryWidgetUpdate,20230928161615,home),00:10,silent)
2023-09-28 17:16:15.154 T:9440    debug <general>: started alarm with name: widgetrefresh
2023-09-28 17:16:15.393 T:18146   debug <general>: script.module.python.twitch: url: |https://api.twitch.tv/helix/users/follows| parameters: |[('from_id', '52942470'), ('first', 25)]|
                                                   {
                                                       "error": "Gone",
                                                       "message": "This API is not available.",
                                                       "status": 410
                                                   }
2023-09-28 17:16:15.393 T:18146   error <general>: Twitch: Error |Gone| |[410] This API is not available.|

Additional Information

Looking at the API document, this endpoint might be changed to https://api.twitch.tv/helix/channels/followed

https://dev.twitch.tv/docs/api/reference/#get-followed-channels


Slychocobo avatar Sep 28 '23 16:09 Slychocobo

Try to update your addon. There's a version 3.0.2 which fixes this issue.

apo86 avatar Sep 28 '23 17:09 apo86

Ah! I did not realise there was a 3.0.2 (as it was not in Releases) but after figuring that out and installing the updated python lib the feature is now resolved.

Thank you :)

Slychocobo avatar Sep 28 '23 17:09 Slychocobo