Missing required oauth scope

You are specifying a Channel oAuth that does not have the relevant scope applied

You must get a oAuth

  • for channel <channelID> with the scope channel_editor

It sounds like you are using

  • for bot of <userID> with no useful scopes update <channelID>

As documented: