Getting 400 error on Create Video

Hello,

I am trying to follow the v5 api guide to upload a video to my channel.

This is my api call for the Create Video step:

   axios({
      url: `https://api.twitch.tv/kraken/videos?channel_id=${this.channelId}&title=Test`,
      method: 'POST',
      headers: {
        'Client-ID': this.clientId,
        'Authorization': `OAuth ${this.accessToken}`,
        'Accept': 'application/vnd.twitchtv.v5+json'
      }
   })

However i get this response:

{
    "error": "Bad Request",
    "status": 400,
    "message": "Your email must be verified, and you must be a partner, affiliate, or developer to upload videos"
}

The access token i’m using here is from my twitch account that was used to create the current client application and the account is connected to Twitch Developer. My email is verified as well.

Do i need to somehow register my account as a developer? Or am i doing something else wrongly?

Thank you!

It seems to be working for me and I am not a partner or affiliate. It is probably checking if you completed the Extension developer on-boarding process (submitting tax information, etc.). Did you complete that?

1 Like

I have not completed any on-boarding process yet. Where can I find the place to do this? However, I am building an Application and not an Extension. Will the on-boarding process be the same?

Thanks for your help!

You do not need to complete the extension on-boarding to create an API or chat application. However I think that is the only way to flag your account as a “developer” for use with this API.

You can start the process here: https://dev.twitch.tv/console/extensions

1 Like

After completing the developer extension on-boarding, I am not encountering the error anymore. Thanks!!

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