Reply
Visitor
jumoleam
Posts: 4
Registered: ‎02-01-2011
0 Kudos

304 or 305 Error Code

I am using Brightcove for a client and after doing some testings I have noticed that if the reference id is already used and I am trying to create a new video I get a 304 error code.(Reference id ... is already in use)

 

This contradicts your documentation in which this kind of error has 305 error code.

 

The error handling is very important so we should match the error by its code not by its message.

 

Have somebody ever encoutered this problem ?

 

Thanks

 

 

Brightcove Team
BC-Oscar
Posts: 503
Registered: ‎12-11-2008
0 Kudos

Re: 304 or 305 Error Code

This looks like a documentation bug to me as well. I opened an internal ticket to follow up on this. Someone from the Media API team will update here when this is confirmed as a bug. 

Visitor
kmbailey
Posts: 3
Registered: ‎09-29-2011
0 Kudos

Re: 304 or 305 Error Code

 

I have seen this in my own work, trying to parse error messages that I get back from the API (currently working in Java, with the Java wrapper).  Now I'm wondering what else might be missing/incorrect in the Media API Error reference:

 

http://support.brightcove.com/en/docs/media-api-error-message-reference

 

Is there any update on this documentation bug?  Is there a corrected error message reference available?