Best answer

Twitter error: “media type unrecognized” when creating message with image (jpg/png)

  • 13 August 2022
  • 1 reply
  • 878 views

Trying discord-twitter integration

when msg to discotd channel it creates a tweet no issue

but when msg+an image (jpg,png) the tweet is not working and getting 

The app returned "media type unrecognized.".

any idea?

icon

Best answer by EJR 15 August 2022, 05:18

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Badge +3

Hi @mehmetalidemirci,

Welcome to the Zapier Community! Happy to help here.

The error “media type unrecognized” usually originates from the Image, Video Or GIF field in the ‘Create Tweet’ in Twitter action step. 

Make sure that the value mapped in that specific field is supported by Twitter. This should be a file url or file object. A max size of 5MB for images and 15MB for videos or GIFs. Media must also be in a supported format (.png, .jpeg, .gif, .mp4, etc.). 

Twitter is also strict when it comes to media posts to their platform so please ensure to check this Media Best Practices doc: https://developer.twitter.com/en/docs/twitter-api/v1/media/upload-media/uploading-media/media-best-practices 

Hope this helps! Let me know if you have additional questions or concerns.