ZF-11901: Zend_Gdata_YouTube ::insertEntry() throws "Invalid Request" exception, though video is uploaded fine

Issue Type: Bug Created: 2011-11-20T17:57:11.000+0000 Last Updated: 2011-11-20T17:57:11.000+0000 Status: Open Fix version(s): Reporter: matteo sisti sette (matteosistisette) Assignee: Trevor Johns (tjohns) Tags: - Zend_Gdata

Related issues: Attachments:


Sometimes, when using the insertEntry method to upload a video to youtube, I get an exception "Invalid Request", but the video is actually uploaded succesfully. This is obviously inconsistent: if the video was uploaded succesfully, no exception must be thrown, while if the request is invalid, then the video wouldn't be uploaded.

However wrong the request may be, giving a negative response and at the same time satisfying the request is buggy behavior.

I'm not sure whether the bug is actually in the library, or in YouTube's API itself, if it is actually returning a response saying "invalid request" and at the same time accepting and publishing the uploaded video.

Unfortunately I can't provide a series of steps to reproduce the issue: this just seems to happen randomly.


No comments to display

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.