News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Send attachment in message .Net
Tags: rest api
Oct 5, 2019 at 1:17am   •   3 replies  •  0 likes
justin-nguyen

Everyday I send message with attachment so ok. But today I get error about "unsupportted media type"

Please help me handle it.

3 Answers
answered on Nov 4, 2019 at 3:55am  

png files should not be a problem as it is under allowed file type which means you can send png as attachment.

Pls make sure your file name is correct and don't contains special characters.

Also pls post the full stack trace for better visibility.


 0
answered on Oct 6, 2019 at 10:22am  

The error message said "unsupported media type". What type of media content was the attachment?

Here are those supported content types:

• Images: jpg/jpeg, png, gif, bmp, tif/tiff
• Videos: 3gp, mp4, mpeg, flv, wmv, mov
• Audio: mp3
• Files: vcf/vcard, zip, rtf, html


 0
answered on Oct 7, 2019 at 5:16pm  

Yes, I have followed above formats. Before It take place error, I still send image whose format is .jpg and it's successfull but when I create another app and install your library so it take error.


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us