Reward to cause error #9

Open
opened 2025-04-04 16:39:58 -04:00 by MrPandir · 8 comments
MrPandir commented 2025-04-04 16:39:58 -04:00 (Migrated from github.com)

If you go to any channel and open channel points, it will throw an error:

4-Apr-2025 20:35:36 +0000  WARN common::twitch::ws: Failed to parse ws message PathError {
    path: ".",
    error: Error("could not deserialize, error on [type]. unknown variant `global-last-viewed-content-updated`, expected `claim-claimed` or `points-earned`", line: 1, column: 44),
} 
message {"type":"MESSAGE","data":{"topic":"community-points-user-v1.244902384","message":"{\"type\":\"global-last-viewed-content-updated\",\"data\":{\"timestamp\":\"2025-04-04T20:35:36.53776684Z\",\"global_last_viewed_content\":{\"user_id\":\"244902384\",\"last_viewed_content\":[{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"SINGLE_MESSAGE_BYPASS_SUB_MODE\",\"last_viewed_at\":\"2025-04-04T20:31:52.304009152Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"SEND_HIGHLIGHTED_MESSAGE\",\"last_viewed_at\":\"2025-04-04T20:31:52.304009152Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"RANDOM_SUB_EMOTE_UNLOCK\",\"last_viewed_at\":\"2025-04-04T20:31:52.304009152Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"CHOSEN_SUB_EMOTE_UNLOCK\",\"last_viewed_at\":\"2025-04-04T20:31:52.304009152Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"CHOSEN_MODIFIED_SUB_EMOTE_UNLOCK\",\"last_viewed_at\":\"2025-04-04T20:31:52.304009152Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"SEND_ANIMATED_MESSAGE\",\"last_viewed_at\":\"2025-04-04T20:35:36.525652083Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"SEND_GIGANTIFIED_EMOTE\",\"last_viewed_at\":\"2025-04-04T20:35:36.525652083Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"CELEBRATION\",\"last_viewed_at\":\"2025-04-04T20:35:36.525652083Z\"}]}}}"}}

 4-Apr-2025 20:35:36 +0000  WARN common::twitch::ws: Failed to parse ws message PathError {
    path: ".",
    error: Error("could not deserialize, error on [type]. unknown variant `channel-last-viewed-content-updated`, expected `claim-claimed` or `points-earned`", line: 1, column: 45),
} 
message {"type":"MESSAGE","data":{"topic":"community-points-user-v1.244902384","message":"{\"type\":\"channel-last-viewed-content-updated\",\"data\":{\"timestamp\":\"2025-04-04T20:35:36.53776684Z\",\"channel_last_viewed_content\":{\"user_id\":\"244902384\",\"channel_id\":\"131121433\",\"last_viewed_content\":[{\"content_type\":\"AUTOMATIC_REWARD\",\"last_viewed_at\":\"2025-04-04T20:35:36.525652083Z\"},{\"content_type\":\"CUSTOM_REWARD\",\"last_viewed_at\":\"2025-04-04T20:35:36.525652083Z\"}]}}}"}}
If you go to any channel and open channel points, it will throw an error: ``` 4-Apr-2025 20:35:36 +0000 WARN common::twitch::ws: Failed to parse ws message PathError { path: ".", error: Error("could not deserialize, error on [type]. unknown variant `global-last-viewed-content-updated`, expected `claim-claimed` or `points-earned`", line: 1, column: 44), } message {"type":"MESSAGE","data":{"topic":"community-points-user-v1.244902384","message":"{\"type\":\"global-last-viewed-content-updated\",\"data\":{\"timestamp\":\"2025-04-04T20:35:36.53776684Z\",\"global_last_viewed_content\":{\"user_id\":\"244902384\",\"last_viewed_content\":[{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"SINGLE_MESSAGE_BYPASS_SUB_MODE\",\"last_viewed_at\":\"2025-04-04T20:31:52.304009152Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"SEND_HIGHLIGHTED_MESSAGE\",\"last_viewed_at\":\"2025-04-04T20:31:52.304009152Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"RANDOM_SUB_EMOTE_UNLOCK\",\"last_viewed_at\":\"2025-04-04T20:31:52.304009152Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"CHOSEN_SUB_EMOTE_UNLOCK\",\"last_viewed_at\":\"2025-04-04T20:31:52.304009152Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"CHOSEN_MODIFIED_SUB_EMOTE_UNLOCK\",\"last_viewed_at\":\"2025-04-04T20:31:52.304009152Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"SEND_ANIMATED_MESSAGE\",\"last_viewed_at\":\"2025-04-04T20:35:36.525652083Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"SEND_GIGANTIFIED_EMOTE\",\"last_viewed_at\":\"2025-04-04T20:35:36.525652083Z\"},{\"content_type\":\"AUTOMATIC_REWARD\",\"content_id\":\"CELEBRATION\",\"last_viewed_at\":\"2025-04-04T20:35:36.525652083Z\"}]}}}"}} 4-Apr-2025 20:35:36 +0000 WARN common::twitch::ws: Failed to parse ws message PathError { path: ".", error: Error("could not deserialize, error on [type]. unknown variant `channel-last-viewed-content-updated`, expected `claim-claimed` or `points-earned`", line: 1, column: 45), } message {"type":"MESSAGE","data":{"topic":"community-points-user-v1.244902384","message":"{\"type\":\"channel-last-viewed-content-updated\",\"data\":{\"timestamp\":\"2025-04-04T20:35:36.53776684Z\",\"channel_last_viewed_content\":{\"user_id\":\"244902384\",\"channel_id\":\"131121433\",\"last_viewed_content\":[{\"content_type\":\"AUTOMATIC_REWARD\",\"last_viewed_at\":\"2025-04-04T20:35:36.525652083Z\"},{\"content_type\":\"CUSTOM_REWARD\",\"last_viewed_at\":\"2025-04-04T20:35:36.525652083Z\"}]}}}"}} ```
t348575 commented 2025-04-05 02:57:10 -04:00 (Migrated from github.com)

I've been meaning to update the latest twitch types but am yet to, expect it in ~ a month

I've been meaning to update the latest twitch types but am yet to, expect it in ~ a month
DITRlSH commented 2025-04-20 01:44:07 -04:00 (Migrated from github.com)

Hi. Has this been fixed yet and does it work on windows?

Hi. Has this been fixed yet and does it work on windows?
t348575 commented 2025-04-20 05:28:23 -04:00 (Migrated from github.com)

Hi. Has this been fixed yet and does it work on windows?

As stated above, it will take a few weeks. Twitch is depreciating their pubsub in favor of eventsub, so I am trying to get that migrated as well. Yes, you can use it on windows either through docker or by building it for windows.

> Hi. Has this been fixed yet and does it work on windows? As stated above, it will take a few weeks. Twitch is depreciating their [pubsub](https://dev.twitch.tv/docs/pubsub/) in favor of eventsub, so I am trying to get that migrated as well. Yes, you can use it on windows either through docker or by building it for windows.
klNuno commented 2025-05-25 17:15:53 -04:00 (Migrated from github.com)

hey, is it fixed ? I would like to try it

hey, is it fixed ? I would like to try it
t348575 commented 2025-05-26 04:15:38 -04:00 (Migrated from github.com)

It's still not complete, I'm quite busy completing some thesis work, feel free to make progress on the pubsub depreciation changes if you'd like v0.1.12

It's still not complete, I'm quite busy completing some thesis work, feel free to make progress on the pubsub depreciation changes if you'd like [v0.1.12](https://github.com/t348575/twitch-points-miner/tree/v0.1.12)
t348575 commented 2025-08-05 17:35:20 -04:00 (Migrated from github.com)

@MrPandir As far as I can see this is a non-issue. Did the program crash, or did something not load?

@MrPandir As far as I can see this is a non-issue. Did the program crash, or did something not load?
MrPandir commented 2025-08-06 09:37:33 -04:00 (Migrated from github.com)

@MrPandir As far as I can see this is a non-issue. Did the program crash, or did something not load?

This is an error, but it is not critical and did not affect the program's operation or cause a crash.

> [@MrPandir](https://github.com/MrPandir) As far as I can see this is a non-issue. Did the program crash, or did something not load? This is an error, but it is not critical and did not affect the program's operation or cause a crash.
openvaibhav commented 2025-08-22 21:47:10 -04:00 (Migrated from github.com)

But the ui doesn't change with the names of the current watching streamer and I can't figure out if it's watching or not cuz it's stuck to the last streamer it started watching them it throws error when streamers change and the ui is stuck to the last streamer it watched.

But the ui doesn't change with the names of the current watching streamer and I can't figure out if it's watching or not cuz it's stuck to the last streamer it started watching them it throws error when streamers change and the ui is stuck to the last streamer it watched.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
t348575/twitch-points-miner#9
No description provided.