Sorry, but that can’t be accepted as solution.
For mismatched params in response it was indeed snowflake issue, but that is only informational.
For request we use media_id_string.
And it says media id is incorrect
Example: From INIT command (uploading to /media/upload.json) I have a response:
``
{ media_id: 890151432564994000,
media_id_string: ‘890151432564994048’,
expires_after_secs: 86399 }```
That media_id used to upload chunks and finalize, so I suppose it is correct and handled properly.
But then I try to get status of that video:
GET https://upload.twitter.com/1.1/media/upload.json?command=STATUS&media_id=890151432564994048
I get error response: 400 - {"request":"/1.1/media/upload.json","error":"Invalid mediaId."}
It also fails to create ad account video from that media id via POST to /:account/videos