question

hardik-joshi avatar image
hardik-joshi asked ·

Getting "SendingFail" messageStatus when posting new fax message. what is the reason ?

Hi Team,

When i am simply posting Fax message from sandbox account using API explorer. its goes to messageStatus "Queued" then after some time its changed to "SendingFail".

so concern here is, how can i know what is the reason for sendingfail ? i have checked in response also for reason of failure but didnt found it.

is there any way to find out the failure reason ?

Thanks,
Hardik Joshi
topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered ·
You can use the API Explorer to check account/~/extension/~/message-store.  There you can find the failure reason such as: "messageStatus": "SendingFailed", "faxErrorCode": "RenderingFailed"
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

hardik-joshi avatar image
hardik-joshi answered ·
i am getting "faxErrorCode":"Undefined" what does it mean ? what can be the cause for it 
25 comments Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Could you please double check the messageStatus? If error is undefined, message status should be sent.
0 Likes 0 · ·
Below is my response.


"id": xyz,
"to": [
  {
    "phoneNumber": "abc",
    "location": "xyz",
    "messageStatus": "SendingFailed",
    "faxErrorCode": "Undefined"
  }
],
"type": "Fax",
"creationTime": "",
"readStatus": "Unread",




0 Likes 0 · ·
@Hardik,
Without the API request and response, its difficult to say what the reason for the error is.However, it might be that the 'to' number to which you are sending faxes might not be a number capable of receiving fax messages. 

However, as an alternative what you can do is you can create another extension lets say (102) and assign a voice/fax number to it and try to send it to that number. 

In the past, we have had one other developer face a similar situation, you can lookup the article here:
https://devcommunity.ringcentral.com/ringcentraldev/topics/fax-sent-from-api-but-status-is-sending-f...

Let me know if this helps. 
0 Likes 0 · ·
Hi AK,

Above linked didn't worked for me because he was having faxErrorCode = "RenderingFailed" and i am having another extention number with me but getting same error code for that also. its always giving me faxErrorCode = "Undefined"
0 Likes 0 · ·
Hi, Looks like functionality working fine now. will let u know if there is any issues.
1 Like 1 · ·
Show more comments
Tyler Liu avatar image
Tyler Liu answered ·
I have no idea. I have noticed the RingCentral platform team. We will get back to you soon.
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

hardik-joshi avatar image
hardik-joshi answered ·
ok Thanks Tyler. let us know once you have information on it
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

John Wang avatar image
John Wang answered ·
When you see the 'SendingFail' message in the 'message-store' endpoint, you can find a detailed reason in the 'call-log' endpoint for the corresponding message. Look for the 'result' value. A list of result values is in the API Reference here:

https://developers.ringcentral.com/api-docs/latest/index.html#!#ResultStatusValues
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

hardik-joshi avatar image
hardik-joshi answered ·
Thanks John,

I don't have permission in my app for call log, but I have tested today its working fine
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.