Am i doing something wrong, i did recieve the AccessToken with the correct scope, and i use that token in another request:
const data = await fetch(`https://api.twitch.tv/henrik_dk/channel`, {
headers: {
Accept: "application/vnd.twitchtv.v5+json",
"Client-ID": process.env.GATSBY_CLIENT_ID,
Authorization: `OAuth ${accessToken}`,
},
})
But i’m getting 404, am i doing something wrong or maybe a misspelling? As you can see i do get the token and i do log it![]()