"error": "Invalid mediaId."


#1

Hi,
We’re trying to upload image. Did like this:

twurl -X POST -H upload.twitter.com "/1.1/media/upload.json?additional_owners={********}" --file /home/wangdao/TwitterSmartAdsTest/pic/female/twitter_20170301_all_female_me_product_carousel_042263042TD.jpg --file-field "media" | python -m json.tool

But when I want to get information,return error. Did like this:

twurl -H upload.twitter.com "/1.1/media/upload.json?command=STATUS&media_id=********" | python -m json.tool

then return error like this:

{
    "error": "Invalid mediaId.",
    "request": "/1.1/media/upload.json"
}

I did method like this post,but also cannot get something.
Can someone help me?


#2

Invalid media Id I did method like this post,but also return error.And the problem was closed.I want to know how to solve the problem