Hello,
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
Thanks
Ollie