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
Getting messageStatus = "SendingFailed" and faxErrorCode = "RenderingFailed" ?
Tags: sdk
Dec 5, 2017 at 5:33am   •   2 replies  •  0 likes
patient-fax

Hi Team,


I am getting messageStatus = "SendingFailed" and faxErrorCode = "RenderingFailed"getting while sending fax message, what can be the reason ?



2 Answers
answered on Dec 5, 2017 at 9:30pm  
Hi Tyler,

I have specified correct contentType in my fax message but though its giving me above error.don't know how.

i have attached one pdf file in fax message and given contentType = "application/pdf".

here is response where xyz specify messageid.

{
  "uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/message-store/xyz";,
  "id": xyz,
  "to": [
    {
      "phoneNumber": "+14246347683",
      "location": "Redondo, CA",
      "messageStatus": "SendingFailed",
      "faxErrorCode": "RenderingFailed"
    }
  ],
  "type": "Fax",
  "creationTime": "2017-12-06T04:58:58.000Z",
  "readStatus": "Unread",
  "priority": "Normal",
  "attachments": [
    {
      "id": xyz,
      "uri": "https://media.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/message-store/xyz/content/x...;,
      "type": "RenderedDocument",
      "contentType": "application/pdf"
    }
  ],
  "direction": "Outbound",
  "availability": "Alive",
  "messageStatus": "SendingFailed",
  "faxResolution": "High",
  "faxPageCount": 0,
  "lastModifiedTime": "2017-12-06T05:05:23.637Z",
  "coverIndex": 7,
  "coverPageText": "TEst note"
}

 0
answered on Dec 5, 2017 at 4:55pm  
RenderingFailed usually means contentType is wrong.

For example, you want to fax a PNG image, and you specify contentType = "application/pdf". Server side cannot render a PNG image as PDF, thus RenderingFailed.

 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