When uploading media, keep in mind that different channels have different data limits for attachments. Twitter is the strictest of all channels. Attachments have a data limit of 5 MB.
The maximum file size limit you can upload in the media library is 500 MB.
Please look up the attachment file size limit for the channel you want to publish to. This prevents posts not being published unexpectedly.