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
Image attached to SMS can't be viewed
Tags: rest api
Jun 14, 2021 at 11:03am   •   4 replies  •  0 likes
Barney Stone

I am trying to attach an image to an SMS created by my app. When I view the resulting message once I receive it on my phone or tablet, I see the attachment, but if I click on it I just see the word "Photo", followed by JPEG Image or PNG Image (depending on what I tried to send) and the image size. I can't actually see the image. Any idea what I could be doing wrong?

4 Answers
answered on Jun 15, 2021 at 7:07am  

So the recipient number is your mobile number and on iPhone and tablet? Can you send a test MMS from the RingCentral soft phone?

This works normally for others, so you need to try several ways to see what could be the root cause.


 0
answered on Jun 15, 2021 at 7:16am  

What is a soft phone? I can't find any reference to it in the developer documentation.


 0
on Jun 15, 2021 at 7:55am   •  0 likes

https://support.ringcentral.com/download.html

Scroll to the "RC Phone - Desktop" and select the appropriate platform to download.

Switch to the "sandbox mode" before logging in the app:

MacOS: press “fn + command + f2” keys

Windows: press “Ctrl + F2” keys

on Jun 15, 2021 at 8:27am   •  0 likes

Tried that, but didn't get too far. Windows version. ctrl+F2 does nothing. ctrl+f1 brings up a menu, but nothing about sandbox mode. And I can't log in - it won't accept the same user name and password that the sandbox accepts for sending and downloading messages. And I'm not sure how that app would help me anyway. Why is there NO documentation for any of this?

on Jun 15, 2021 at 8:31am   •  0 likes

It works for everyone. Do some self-service, search the site for previous discussions/instructions.

answered on Jun 14, 2021 at 12:30pm  

Any kind of image or just a particular image? Try this simple image and let me know.test.jpg


 0
answered on Jun 14, 2021 at 12:40pm  

Same result. I see the message, but can't see the image. Here is the response I get when I send the message:

{

"uri" : "https://platform.devtest.ringcentral.com/restapi/v1.0/account/296240004/extension/296240004/message-store/9648411004",

"id" : 9648411004,

"to" : [ {

"phoneNumber" : "+1(a valid phone #)"

} ],

"from" : {

"phoneNumber" : "+1(my sandbox phone #)",

"name" : "Barney Stone",

"location" : "Los Angeles, CA"

},

"type" : "SMS",

"creationTime" : "2021-06-14T19:36:43.000Z",

"readStatus" : "Read",

"priority" : "Normal",

"attachments" : [ {

"id" : 9648411004,

"uri" : "https://platform.devtest.ringcentral.com/restapi/v1.0/account/296240004/extension/296240004/message-store/9648411004/content/9648411004",

"type" : "Text",

"contentType" : "text/plain"

}, {

"id" : 2368032004,

"uri" : "https://media.devtest.ringcentral.com/restapi/v1.0/account/296240004/extension/296240004/message-store/9648411004/content/2368032004",

"type" : "MmsAttachment",

"contentType" : "image/jpeg",

"size" : 8170,

"fileName" : "test.jpg"

} ],

"direction" : "Outbound",

"availability" : "Alive",

"subject" : "Test SMS using a RingCentral Developer account - Test with image",

"messageStatus" : "Queued",

"smsSendingAttemptsCount" : 1,

"conversationId" : 4887734925872257461,

"conversation" : {

"id" : "4887734925872257461",

"uri" : "https://platform.devtest.ringcentral.com/restapi/v1.0/conversation/4887734925872257461"

},

"lastModifiedTime" : "2021-06-14T19:36:43.893Z"

}



 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