i’m just testing extensions api, but i get an error when trying to use Update User Extension PUT request according to example.
my headers: {‘Authorization’: ‘Bearer …’, ‘Client-Id’: ‘…’, ‘Content-Type’: ‘application/json’}
request url: https://api.twitch.tv/helix/users/extensions/list
i send a GET request.
response:
{‘data’: [{‘id’: ‘pp16i51f77pxhwls8tqqo72f5m5ttz’, ‘version’: ‘0.5.0’, ‘name’: ‘Better Information Panel’, ‘can_activate’: True, ‘type’: [‘component’, ‘mobile’, ‘panel’]}]}
works fine.
then i send a PUT request to update the active state of the extension:
request body:
{“data”: {“panel”: {“1”: {“active”: true, “id”: “pp16i51f77pxhwls8tqqo72f5m5ttz”, “version”: “0.5.0”}}}}
response:
{“error”:“Not Found”,“status”:404,“message”:“”}
am i doing something incorrectly or is the documentation outdated?