dak88
#2
Im getting the same response with uploading a video…
Guys could you please reply?
I’ve made the Media Platform team aware of this post as well as this one in order to investigate and respond.
It doesn’t sound like there are issues on the server. One of the engineers was curious to know if you take advantage of the check_after_secs value in the response for how often to re-poll. Making calls in a smaller window would result in this error message. This message can be returned when there is a rate limiting issue, not necessarily a server “over capacity” issue.
I was making only 1 call to the STATUS command.
I will try again today and get back to you.
I can confirm that the problem is still happening for just 1 request to the STATUS COMMAND.
More information below:
Query : https://upload.twitter.com/1.1/media/upload.json?command=STATUS&media_id=730321335977545728
Status Code : 130
Error Description from Twitter : Over capacity
Ok, thanks. And are you waiting for the check_after_secs number of seconds between calling FINALIZE and STATUS? This value is given in both the FINALIZE and STATUS responses. Have you tried increasing that wait time slightly if so?
Hi @jbulava,
I think that is the solution, you should provide the media_category in order to not retrive this error.
In our case (we’re uploading videos) using amplify_video
And now it works like a charm!
I will try this out, is there a documentation listing the different media_category?
Hi @TweetinviApi,
Here you have the docs saying about it : API reference index | Docs | Twitter Developer Platform
Also I’ve found a post from @andypiper talking about the different options Media_category values - #8 by msbukkuri
But also, if you try thouse values you get an error, and it says what value should be…
It’s a little embarrassing but it works for me!
Regards
Thank you. So the only solution you had was amplify_video.
Have you tried to get the status with an image?
I will try this out tonight when I am out of work.
The thing is that with the images I don’t use chunked upload, son I don’t need INIT / APPEND / …
So I don’t know
Sorry!
@TweetinviApi Did you try the upload with the media_category option?
Thanks!
Wow, It’s really stragnte, It works for me now like a charm!..
Could you share your RAW responses?
I might have misunderstood what this functionality was for.
From my point of view the STATUS should have been available as soon as the INIT command has been executed.
I read The STATUS command is used to periodically poll for updates of media processing operation. as a solution to have information about the upload process and whether the media is available after the FINALIZE has been executed.
But I have probably misunderstood the documentation. I will try after the FINALIZE.
1 Like