As the title says, when I try to set required configuration, I got the following error response
{
"error": "Unauthorized",
"status": 401,
"message": "Sorry, you're not allowed to do that"
}
I use postman to request the API as following.
curl --location --request PUT 'https://api.twitch.tv/helix/extensions/required_configuration?broadcaster_id=11' \
--header 'Client-Id: xxx' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{"required_configuration": "config","extension_id": "xxx","extension_version": "0.0.1"}'
Where “Client-Id: xxx” will substitue to my real client ID. And when generating JWT token, I use my own twitch ID( extension owner, and not the opaque Id).
Thanks In Advance for any help