Update User Extensions giving 404 error

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.

{‘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”}}}}
{“error”:“Not Found”,“status”:404,“message”:“”}

am i doing something incorrectly or is the documentation outdated?

What URL did you PUT against.

You told us the URL that you did to list available extensions, but the the URL you tired to PUT

So you did PUT against https://api.twitch.tv/helix/users/extensions ?

Side note, you would also likely want your PUT body to contain all the other slots not jsut the panel else you’ll get a disable on the other slots, your payload looks dry

Edit: I checked agaisnt my test tool and it’s working as expected.

1 Like

ok, im dumb, didn’t see it’s https://api.twitch.tv/helix/users/extensions, not https://api.twitch.tv/helix/users/extensions/list

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.