First off, thanks for the quick reply!
I want to upload the base64 string directly in my app. That’s why i added the -b flag in my twurl command which does the following:
-b, --base64 Encode the uploaded file as base64 (default: false)
But even if this option does not provide the string as i thought, if i try it manually (with a setted base64 string in media_data) it doesn’t work either.
And no matter what i put into media_data it always returns the quoted error which seems wrong, because, how i said, when uploading a base64-encoded image the media param should be empty, shouldn’t it?