Bug with uploading status with media


I am successfully able to post a media object and I am getting back an id. when trying to post a status update with the respective media_ids, its giving me a bad request. What could be the cause of the problem?

Media Upload Result:

object(stdClass)#16 (4) {
  string(18) "535153977458167809"
  object(stdClass)#17 (3) {
    string(9) "image/png"

Status Update Parameters:

array(6) {
  string(18) "535153977458167809"
  string(4) "test"

Status Update Failed Result:

array(1) {
  array(1) {
    object(stdClass)#13 (2) {
      string(12) "Bad request."


(moving to the REST category as this does not appear to be OAuth related)

Error 214 typically would mean that your image was not valid, or that the media ids you provided were not valid. We’re working to improve the response message you’d get back in this case, and to document the error codes more fully.

It looks like you are using a PHP library? are other users of the same library having greater success with this API?