# Migration

**URL:** https://discuss.dev.twitch.com/c/api/migration/20.md

[Latest](https://discuss.dev.twitch.com/latest.md) · [Categories](https://discuss.dev.twitch.com/categories.md)

---

## [About the Migration category](https://discuss.dev.twitch.com/t/about-the-migration-category/21930)

<div class="topic-metadata">

**Author:** [@jbulava](https://discuss.dev.twitch.com/u/jbulava)\
**Replies:** 0

</div>

Discussion and questions related to migrating between versions of the Twitch API. This includes upgrading from v3 to v5 and v5 to the helix namespace.

---

## [Developer Console incorrectly reports that 2FA is not enabled](https://discuss.dev.twitch.com/t/developer-console-incorrectly-reports-that-2fa-is-not-enabled/65004)

<div class="topic-metadata">

**Author:** [@NorthHeir](https://discuss.dev.twitch.com/u/NorthHeir)\
**Replies:** 1\
**Last updated:** [September 4, 2026, 5:52pm UTC](https://discuss.dev.twitch.com/t/developer-console-incorrectly-reports-that-2fa-is-not-enabled/65004 "2026-09-04T17:52:45Z")

</div>

Hello, I’m unable to register a new application in the Twitch Developer Console. The console returns: “user must have two factor auth enabled to perform this action” However, 2FA is already enabled and successfully v…

---

## [429 Error When Subscribing to EventSub](https://discuss.dev.twitch.com/t/429-error-when-subscribing-to-eventsub/63174)

<div class="topic-metadata">

**Author:** [@TigerHix](https://discuss.dev.twitch.com/u/TigerHix)\
**Replies:** 6\
**Last updated:** [March 28, 2025, 12:11pm UTC](https://discuss.dev.twitch.com/t/429-error-when-subscribing-to-eventsub/63174 "2025-03-28T12:11:21Z")

</div>

Hello, Facing a strange issue. After upgrading to EventSub websockets from PubSub, some of our users reported that they cannot subscribe to any Twitch events, logs below: \[TwitchWebSocketClient\] Connecting to EventSub …

---

## [Connecting twitch chat to google home assistant?](https://discuss.dev.twitch.com/t/connecting-twitch-chat-to-google-home-assistant/59709)

<div class="topic-metadata">

**Author:** [@dougiedayz](https://discuss.dev.twitch.com/u/dougiedayz)\
**Replies:** 0\
**Last updated:** [July 22, 2024, 5:21pm UTC](https://discuss.dev.twitch.com/t/connecting-twitch-chat-to-google-home-assistant/59709 "2024-07-22T17:21:39Z")

</div>

Hello guys, i was wondering if anyone knew how to connect twitch chat commands to google home assistant where chatters could essentially interact with google home devices such as light control and google speakers. any ti…

---

## [How to get the spent Channelpoints of a User?](https://discuss.dev.twitch.com/t/how-to-get-the-spent-channelpoints-of-a-user/58080)

<div class="topic-metadata">

**Author:** [@Baseult](https://discuss.dev.twitch.com/u/Baseult)\
**Replies:** 15\
**Last updated:** [April 28, 2024, 12:54pm UTC](https://discuss.dev.twitch.com/t/how-to-get-the-spent-channelpoints-of-a-user/58080 "2024-04-28T12:54:50Z")

</div>

I am currently working on a website similar to r/place. However to place a pixel on the website, the user first has to spend 100 channelpoints on my Twitch Stream. To implement this, I am considering adding a “login wit…

---

## [I Don't Know how to use the new Helix Twitch api](https://discuss.dev.twitch.com/t/i-dont-know-how-to-use-the-new-helix-twitch-api/24187)

<div class="topic-metadata">

**Author:** [@Amininano](https://discuss.dev.twitch.com/u/Amininano)\
**Replies:** 9\
**Last updated:** [August 6, 2020, 7:03pm UTC](https://discuss.dev.twitch.com/t/i-dont-know-how-to-use-the-new-helix-twitch-api/24187 "2020-08-06T19:03:48Z")

</div>

https://api.twitch.tv/helix/streams?user\_login=Channel\_name?client\_id=xxxxxxxxxxxxxx Can i please know if this is the right Syntax , i already check the guide but am not getting anything except this : {“error”:“Unautho…

---

## [400 - Invalid authorization code](https://discuss.dev.twitch.com/t/400-invalid-authorization-code/44500)

<div class="topic-metadata">

**Author:** [@Yurkie07](https://discuss.dev.twitch.com/u/Yurkie07)\
**Replies:** 3\
**Last updated:** [March 27, 2023, 10:43am UTC](https://discuss.dev.twitch.com/t/400-invalid-authorization-code/44500 "2023-03-27T10:43:16Z")

</div>

Sorry I know you have plenty of these same topics and I read through them all and can’t seem to figure out what I missing. Below is my code, but no matter what I do I can’t get past the "Invalid authorization code. The…

---

## [Broadcaster Subscriber List missing scope error](https://discuss.dev.twitch.com/t/broadcaster-subscriber-list-missing-scope-error/43354)

<div class="topic-metadata">

**Author:** [@luker1103](https://discuss.dev.twitch.com/u/luker1103)\
**Replies:** 1\
**Last updated:** [February 5, 2023, 9:44am UTC](https://discuss.dev.twitch.com/t/broadcaster-subscriber-list-missing-scope-error/43354 "2023-02-05T09:44:00Z")

</div>

I am using Postman to test my API requests, and using the following link: https://api.twitch.tv/helix/subscriptions/user?broadcaster\_id=XXXXXXXXX&user\_id=XXXXXXXXX Along with this, I have attached a Client-Id (generate…

---

## [Script Help - I'm New!](https://discuss.dev.twitch.com/t/script-help-im-new/42756)

<div class="topic-metadata">

**Author:** [@adzz.gsau](https://discuss.dev.twitch.com/u/adzz.gsau)\
**Replies:** 3\
**Last updated:** [January 10, 2023, 6:39pm UTC](https://discuss.dev.twitch.com/t/script-help-im-new/42756 "2023-01-10T18:39:27Z")

</div>

Sorry for what’s probably a really stupid question but new to all this, trying to teach myself and been playing with the following script for 4 hours… import discord import requests import json client = discord.Client(…

---

## [I am new at Twitch4J developing in Java](https://discuss.dev.twitch.com/t/i-am-new-at-twitch4j-developing-in-java/42276)

<div class="topic-metadata">

**Author:** [@xyolomc](https://discuss.dev.twitch.com/u/xyolomc)\
**Replies:** 10\
**Last updated:** [December 11, 2022, 2:31pm UTC](https://discuss.dev.twitch.com/t/i-am-new-at-twitch4j-developing-in-java/42276 "2022-12-11T14:31:47Z")

</div>

Can someone help me at creating my first Twitch4J bot? because i don’t really get it. Just add me on discord. dc: Drogato#0420

---

## [So no more video comments API?](https://discuss.dev.twitch.com/t/so-no-more-video-comments-api/39259)

<div class="topic-metadata">

**Author:** [@plm33332](https://discuss.dev.twitch.com/u/plm33332)\
**Replies:** 9\
**Last updated:** [December 8, 2022, 2:13am UTC](https://discuss.dev.twitch.com/t/so-no-more-video-comments-api/39259 "2022-12-08T02:13:14Z")

</div>

I’m looking for ‘https://api.twitch.tv/helix/videos/’+videoId+’/comments?content\_offset\_seconds=0’ something like this in this version of Twitch API

---

## [Do not go to twitch when clicking on embedded stream on website](https://discuss.dev.twitch.com/t/do-not-go-to-twitch-when-clicking-on-embedded-stream-on-website/41145)

<div class="topic-metadata">

**Author:** [@J.J.A\_Vogels](https://discuss.dev.twitch.com/u/J.J.A_Vogels)\
**Replies:** 2\
**Last updated:** [October 12, 2022, 11:19am UTC](https://discuss.dev.twitch.com/t/do-not-go-to-twitch-when-clicking-on-embedded-stream-on-website/41145 "2022-10-12T11:19:53Z")

</div>

Hello, Does anyone know if there is an option when you embed a twitch stream on your website. To make it so that when users click on the embedded stream is does not automatically open a tab to twitch? Regards, Jari

---

## [Send a message to the chat via POST request](https://discuss.dev.twitch.com/t/send-a-message-to-the-chat-via-post-request/40395)

<div class="topic-metadata">

**Author:** [@cxzivxizeoqc](https://discuss.dev.twitch.com/u/cxzivxizeoqc)\
**Replies:** 4\
**Last updated:** [September 6, 2022, 2:50pm UTC](https://discuss.dev.twitch.com/t/send-a-message-to-the-chat-via-post-request/40395 "2022-09-06T14:50:08Z")

</div>

Please tell me how can I send a message via POST request to the streamer’s chat on twitch. First need to connect to the chat and then send a message, do I understand correctly? But I don’t know how to do it Code: impor…

---

## [Error de twitch](https://discuss.dev.twitch.com/t/error-de-twitch/40094)

<div class="topic-metadata">

**Author:** [@nico.castagnola](https://discuss.dev.twitch.com/u/nico.castagnola)\
**Replies:** 3\
**Last updated:** [August 21, 2022, 10:36pm UTC](https://discuss.dev.twitch.com/t/error-de-twitch/40094 "2022-08-21T22:36:54Z")

</div>

Hola buenas tardes! Quiero stremear y me tira estos 2 errores 401 https://api.twitch.tv/helix/streams/key?broadcaster\_id=205279542 401 Unauthorized Invalid OAuth token

---

## [How can i see please help me :P](https://discuss.dev.twitch.com/t/how-can-i-see-please-help-me-p/39458)

<div class="topic-metadata">

**Author:** [@rgbeezrgoff](https://discuss.dev.twitch.com/u/rgbeezrgoff)\
**Replies:** 2\
**Last updated:** [July 13, 2022, 11:06am UTC](https://discuss.dev.twitch.com/t/how-can-i-see-please-help-me-p/39458 "2022-07-13T11:06:50Z")

</div>

how can i see the gender and the age of my audience

---

## [Use Twitch as OpenID in Azure AD B2C](https://discuss.dev.twitch.com/t/use-twitch-as-openid-in-azure-ad-b2c/39043)

<div class="topic-metadata">

**Author:** [@vpbadoni](https://discuss.dev.twitch.com/u/vpbadoni)\
**Replies:** 0\
**Last updated:** [June 20, 2022, 6:15am UTC](https://discuss.dev.twitch.com/t/use-twitch-as-openid-in-azure-ad-b2c/39043 "2022-06-20T06:15:13Z")

</div>

HI All I want to Use Twitch as a OpenID Connect with Azure AD b2C . Do we have any Document for it Step by Step process.

---

## [Asking About Integration in my app](https://discuss.dev.twitch.com/t/asking-about-integration-in-my-app/38482)

<div class="topic-metadata">

**Author:** [@MuhammedAli](https://discuss.dev.twitch.com/u/MuhammedAli)\
**Replies:** 3\
**Last updated:** [May 25, 2022, 6:59am UTC](https://discuss.dev.twitch.com/t/asking-about-integration-in-my-app/38482 "2022-05-25T06:59:45Z")

</div>

Hello, i am new here and i want to know that my app is about sharing twitch videos for views and it’s all from user side we user add links and other watch if they want i want to integrate this using flutter\_twitch\_play…

---

## [\[Helix\] Clips endpoint not working with 'before' argument (400 invalid cursor)](https://discuss.dev.twitch.com/t/helix-clips-endpoint-not-working-with-before-argument-400-invalid-cursor/38531)

<div class="topic-metadata">

**Author:** [@pawel.jelonek.krakow](https://discuss.dev.twitch.com/u/pawel.jelonek.krakow)\
**Replies:** 6\
**Last updated:** [May 23, 2022, 7:56pm UTC](https://discuss.dev.twitch.com/t/helix-clips-endpoint-not-working-with-before-argument-400-invalid-cursor/38531 "2022-05-23T19:56:03Z")

</div>

Hi, I can see that using before argument with clips endpoint constantly ends with: { "error": "Bad Request", "status": 400, "message": "invalid cursor" } Here is the sample chain for requests I can make to…

---

## [ How do I migrate if it's a google extension?](https://discuss.dev.twitch.com/t/how-do-i-migrate-if-its-a-google-extension/37332)

<div class="topic-metadata">

**Author:** [@Miguel](https://discuss.dev.twitch.com/u/Miguel)\
**Replies:** 4\
**Last updated:** [March 19, 2022, 3:59pm UTC](https://discuss.dev.twitch.com/t/how-do-i-migrate-if-its-a-google-extension/37332 "2022-03-19T15:59:30Z")

</div>

Good, I want to know how a strema is online, based on what I was looking for I found this. End point: https://api.twitch.tv/kraken/streams/shroud From there we are fine, my clientid believes me. Follow the steps in…

---

## [Stream status widget](https://discuss.dev.twitch.com/t/stream-status-widget/37389)

<div class="topic-metadata">

**Author:** [@Dogghy](https://discuss.dev.twitch.com/u/Dogghy)\
**Replies:** 2\
**Last updated:** [March 11, 2022, 1:39pm UTC](https://discuss.dev.twitch.com/t/stream-status-widget/37389 "2022-03-11T13:39:33Z")

</div>

Hi everyone! I realized with a little delay of the “migration” and my website widget stopped working all of a sudden. I don’t understand much about coding, but I can show you what I used (and it worked fine). Basicall…

---

## [Get Streams API for the current user returns blank object](https://discuss.dev.twitch.com/t/get-streams-api-for-the-current-user-returns-blank-object/37316)

<div class="topic-metadata">

**Author:** [@alco](https://discuss.dev.twitch.com/u/alco)\
**Replies:** 8\
**Last updated:** [March 10, 2022, 3:27pm UTC](https://discuss.dev.twitch.com/t/get-streams-api-for-the-current-user-returns-blank-object/37316 "2022-03-10T15:27:32Z")

</div>

We recently migrated our code to Helix following this doc: Reference | Twitch Developers But based on our test, we only get the ff. in the response: {"data":\[\],"pagination":{}} Our call looks like the ff. URL: https:…

---

## [Find games via the API](https://discuss.dev.twitch.com/t/find-games-via-the-api/37214)

<div class="topic-metadata">

**Author:** [@dcardenas](https://discuss.dev.twitch.com/u/dcardenas)\
**Replies:** 2\
**Last updated:** [March 5, 2022, 1:03am UTC](https://discuss.dev.twitch.com/t/find-games-via-the-api/37214 "2022-03-05T01:03:48Z")

</div>

Hi team, Previously I would use https://api.twitch.tv/kraken/streams/game=game\_name However I dont seem to find the equivalent in the new API, I have tried https://api.twitch.tv/helix/streams?game\_name=game\_name Bu…

---

## [Shutdown of the V5 API, great!, but](https://discuss.dev.twitch.com/t/shutdown-of-the-v5-api-great-but/36695)

<div class="topic-metadata">

**Author:** [@Dere011](https://discuss.dev.twitch.com/u/Dere011)\
**Replies:** 6\
**Last updated:** [March 3, 2022, 5:48pm UTC](https://discuss.dev.twitch.com/t/shutdown-of-the-v5-api-great-but/36695 "2022-03-03T17:48:10Z")

</div>

The end of the V5 is coming very soon, it’s a good thing, but there are still some points missing on the new one : /helix/streams (get Streams) The first thing is the “Get Streams” reference that allows you to retrie…

---

## [Migrate Kraken token to Helix - without secret](https://discuss.dev.twitch.com/t/migrate-kraken-token-to-helix-without-secret/37105)

<div class="topic-metadata">

**Author:** [@Nicola](https://discuss.dev.twitch.com/u/Nicola)\
**Replies:** 4\
**Last updated:** [February 27, 2022, 12:04pm UTC](https://discuss.dev.twitch.com/t/migrate-kraken-token-to-helix-without-secret/37105 "2022-02-27T12:04:28Z")

</div>

Hi there, I have a twitch bot which was happily running for 5 years now. Unfortunately I lost 2FA access and am unable to get it via twitch support, since I don’t know (e.g.) which birthdate I made up when creating it. …

---

## [  How do I generate the cursor pagination in axios](https://discuss.dev.twitch.com/t/how-do-i-generate-the-cursor-pagination-in-axios/37097)

<div class="topic-metadata">

**Author:** [@Lambs](https://discuss.dev.twitch.com/u/Lambs)\
**Replies:** 7\
**Last updated:** [February 26, 2022, 9:50pm UTC](https://discuss.dev.twitch.com/t/how-do-i-generate-the-cursor-pagination-in-axios/37097 "2022-02-26T21:50:42Z")

</div>

I am performing the query to get data from the helix api but I need to use the cursor with the migration and I can only perform the first query. Is it necessary to make a loop to make use of the cursor? Could you provid…

---

## [Finding new location of custom endpoint for setting chat badge](https://discuss.dev.twitch.com/t/finding-new-location-of-custom-endpoint-for-setting-chat-badge/37070)

<div class="topic-metadata">

**Author:** [@ultraroxy](https://discuss.dev.twitch.com/u/ultraroxy)\
**Replies:** 1\
**Last updated:** [February 24, 2022, 4:24pm UTC](https://discuss.dev.twitch.com/t/finding-new-location-of-custom-endpoint-for-setting-chat-badge/37070 "2022-02-24T16:24:57Z")

</div>

The organization I co-direct has a custom endpoint in kraken under the route /users/:id/chat/badges/ that allows us to assign a special global chat badge to a user. Since /users/:id is now deprecated in helix, I’m not su…

---

## [Https://api.twitch.tv/kraken/streams/ Does not work](https://discuss.dev.twitch.com/t/https-api-twitch-tv-kraken-streams-does-not-work/37057)

<div class="topic-metadata">

**Author:** [@dev1lroot](https://discuss.dev.twitch.com/u/dev1lroot)\
**Replies:** 1\
**Last updated:** [February 23, 2022, 1:10pm UTC](https://discuss.dev.twitch.com/t/https-api-twitch-tv-kraken-streams-does-not-work/37057 "2022-02-23T13:10:16Z")

</div>

{ "request":{ "url":"https://api.twitch.tv/kraken/streams/?language=ru&game=Minecraft&limit=100&api\_version=5", "headers":\[ "Accept: application\\/vnd.twitchtv.v5+json", "Client…

---

## [Confused about Twitch APIs](https://discuss.dev.twitch.com/t/confused-about-twitch-apis/24050)

<div class="topic-metadata">

**Author:** [@161134050](https://discuss.dev.twitch.com/u/161134050)\
**Replies:** 6\
**Last updated:** [February 16, 2022, 4:44pm UTC](https://discuss.dev.twitch.com/t/confused-about-twitch-apis/24050 "2022-02-16T16:44:00Z")

</div>

So I understand that the V3 api now no longer works, but here’s what i’m confused about: When I visit https://dev.twitch.tv/docs/api there seems to be two active APIs, namely “New Twitch API” and “V5” What is the diffe…

---

## [Search Channels have wrong documentation](https://discuss.dev.twitch.com/t/search-channels-have-wrong-documentation/36869)

<div class="topic-metadata">

**Author:** [@dbadb](https://discuss.dev.twitch.com/u/dbadb)\
**Replies:** 9\
**Last updated:** [February 16, 2022, 1:01pm UTC](https://discuss.dev.twitch.com/t/search-channels-have-wrong-documentation/36869 "2022-02-16T13:01:28Z")

</div>

According to https://dev.twitch.tv/docs/api/migration the Search Streams option is no longer available but we can Use “Search Channels” to match channel name or title. This is simply invalid because if you put some e…

---

## [Getting Users with Helix](https://discuss.dev.twitch.com/t/getting-users-with-helix/36710)

<div class="topic-metadata">

**Author:** [@DevUser](https://discuss.dev.twitch.com/u/DevUser)\
**Replies:** 3\
**Last updated:** [February 9, 2022, 3:44pm UTC](https://discuss.dev.twitch.com/t/getting-users-with-helix/36710 "2022-02-09T15:44:30Z")

</div>

Previously, in the Kraken API, I could send multiple user logins and if one was invalid it would return null for that entry. In Helix, if one of those user logins is invalid, the whole response returns an error. { er…

[Next page](https://discuss.dev.twitch.com/c/api/migration/20.md?page=1)
