V5 upload API 404 bug


This is the first bug I’ve come across with v5 of the API. I’m trying to use the Video Upload API. The first step is creating the video. The following curl request works wtih v4, I updated it to work with v5 (channel_name to channel_id) and I get a 404 back. It seems that once the channel_id validation is done (I get a 400 if I supply channel_name instead of channel_id), there is an error internally that causes a 404 with no message to come back. Something else to note is that the title parameter does not appear to be validated before it is decided to return the 404.

Examples (I uses GET params purely for the simplicity for this bug report!)

Create Video V4
curl 'https://api.twitch.tv/kraken/videos?api_version=5&client_id=CLIENT_ID&oauth_token=ACCESS_TOKEN' -dchannel_name='ollieparsleydev' -dtitle='Test Title'
I get a 200 back with the correct video response

Create Video V5
curl 'https://api.twitch.tv/kraken/videos?api_version=5&client_id=CLIENT_ID&oauth_token=ACCESS_TOKEN' -dchannel_id='139985889' -dtitle='Test Title'
I get a 404 with the following body: {"error":"Not Found","status":404,"message":null}

I hope that is enough information for someone to be able to help me! If not, please ask me for more :slight_smile:



Hey, @ollieparsley!

This is a known issue. We’re working on getting VOD upload into v5. Sorry for the delay!


1 Like

No worries :).Thanks for a quick response! Ill be patient hehe. I’m building a client library in golang for v5 and I’m mocking all the endpoints based on the information given out so far. I’ll keep trying every now and again until it starts working :stuck_out_tongue:

FYI this is what I have so far: https://github.com/ollieparsley/twitchy-gopher



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