401 Errors for chat messages

If you release a new version you’ll need to update the version in the URL

POST https://api.twitch.tv/extensions/<client ID>/<extension version>/channels/<channel ID>/chat

The Streamer/channel may have disabled “Extension Chat” in the permissions dialog

image

See Dashboard → Extensions → My Extensions → Manage Permissions