Get Users keeps giving me a 404

I followed the example given in the reference to the T and left out a user id in the query. It’s supposed to return the user’s information (which right now should be my own information) back to me. Unfortunately, instead, it’s returning 404.


Request headers: {‘User-Agent’: ‘python-requests/2.25.1’, ‘Accept-Encoding’: ‘gzip, deflate’, ‘Accept’: ‘/’, ‘Connection’: ‘keep-alive’, ‘Authorization’: ‘Bearer token’, ‘Client-Id’: ‘wu0igtgmkggjkmkpbccot2vcmk3q59’}

Response headers:{‘Date’: ‘Mon, 07 Jun 2021 00:20:22 GMT’, ‘Content-Type’: ‘text/plain; charset=utf-8’, ‘Content-Length’: ‘19’, ‘Connection’: ‘keep-alive’, ‘Server’:
‘nginx/1.18.0’, ‘X-Content-Type-Options’: ‘nosniff’, ‘X-Ctxlog-Logid’: ‘1-60bd6646-3d9aa65c742098672c0e446b’}

The only thing I left out was that I changed the token I was using to just say “token” (for obvious reasons). I’m not sure what I’m doing wrong here. I don’t specify a user id or a username in the query parameters because I want to return back the user information of the user in the bearer token (which, right now is myself. I’m doing this on a dev server.)

Thats not the right URL, it is

As documented here: Reference | Twitch Developers

1 Like

I can’t believe I didn’t notice before. Thanks