[solved] Commercial API Not Found?

I keep getting this when using the documented way to activate a commercial in the API.

I should be properly sending length, looks like channel ID is correct. What gives?

https://api.twitch.tv/kraken/channels/26490481/commercial
{ error: ‘Not Found’, status: 404, message: ‘’ }

Are you sending the request as a POST?

Yessir! Sending with post, data in the body and not in the header.

What is the exact code you’re using to send the request, a 404 indicates you’re sending a bad request to an endpoint that doesn’t exist.

I had PUT instead of POST… my bad! It works properly now.

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