question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Helix responds with 401

See original GitHub issue

Hello there, I tried to fetch the moderators of a channel but got a 401.

self.twitch_helix = twitch.Helix(client_id=f'{os.getenv("TWITCH.CLIENTID")}', use_cache=True, client_secret=f'{os.getenv("TWITCH.SECRET")}')

identifier: str = self.twitch_helix.user("schrottler").id
mods = self.twitch_helix.api.get("moderation/moderators", {"broadcaster_id": identifier}).get()

Both ClientID and ClientSecret are set. Any idea? Or is this type of request not supported?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
MPeti1commented, Jun 22, 2021

oh, thank you. it’s bad news, because afaik other libraries don’t have support for the stream chat 😕

0reactions
MPeti1commented, Jun 22, 2021

but well, in the end I get the same random errors and slowness as I had with TCD 😕

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error and response codes | Helix ALM REST API Guide ...
The request is missing or contains invalid information, such as required parameter. 401, Unauthorized, Access is denied. The username/password or access token ...
Read more >
Error 401 on request, Helix upadte? - API
Today I wanted to work on my Bot discord project in java and I'm querying the helix API, but I got the error:...
Read more >
Request to unknown repository returns 401 · Issue #5
Trying to resolve a repository that does not exist, resolves in a 401. To Reproduce. $ curl -D - 'https://adobeioruntime.net/api/v1/web/helix/ ...
Read more >
Troubleshooting the BMC Helix Digital Workplace Catalog ...
I keep getting "401 Unauthorized" errors from the API ... This error indicates that you could not be authenticated with the token expected...
Read more >
What is a 401 Error and How Do You Fix It? - YouTube
In today's video, we're going to learn how to fix the 401 error.Blog post: https://www.elegantthemes.com/blog/wordpress/ 401 -errorLike us on ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found