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.
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"
}