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

  • 1
  • Question
  • Updated 4 weeks ago
  • Answered
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
Photo of Hardik Joshi

Hardik Joshi

  • 380 Points 250 badge 2x thumb

Posted 3 months ago

  • 1
Photo of Tyler Long

Tyler Long, Official Rep

  • 4,524 Points 4k badge 2x thumb
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"
Photo of Hardik Joshi

Hardik Joshi

  • 380 Points 250 badge 2x thumb
i am getting "faxErrorCode":"Undefined" what does it mean ? what can be the cause for it 
Photo of Tyler Long

Tyler Long, Official Rep

  • 4,524 Points 4k badge 2x thumb
Could you please double check the messageStatus? If error is undefined, message status should be sent.
Photo of Hardik Joshi

Hardik Joshi

  • 380 Points 250 badge 2x thumb
Below is my response.


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

AK, Official Rep

  • 4,342 Points 4k badge 2x thumb
@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. 
Photo of Hardik Joshi

Hardik Joshi

  • 380 Points 250 badge 2x thumb
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"
(Edited)
Photo of Tyler Long

Tyler Long, Official Rep

  • 4,524 Points 4k badge 2x thumb
Can you send a sample fax file to 16506417402 ? It's my number. I will let you know if I get the fax. It might be because the receiving number you tested doesn't support fax.
Photo of Hardik Joshi

Hardik Joshi

  • 380 Points 250 badge 2x thumb
Tyler we are just checking it with AK, will let you know  once we done

thanks
Photo of AK

AK, Official Rep

  • 4,342 Points 4k badge 2x thumb
@Tyler,

Did you receive the fax? 
Photo of AK

AK, Official Rep

  • 4,342 Points 4k badge 2x thumb
Hardik,

Thanks for taking your time to sync up on an RC meeting. Below is the outcome of the meeting:

1.) Outbound fax from your sandbox account to another sandbox number is failing. 
2.) Outbound fax to a Production Number is successful. 

I will create a ticket and assign it to the concerned team. Please check back for more updates.

Thanks !
Photo of Hardik Joshi

Hardik Joshi

  • 380 Points 250 badge 2x thumb
Sure AK,

Thanks
Photo of AK

AK, Official Rep

  • 4,342 Points 4k badge 2x thumb
Hardik,

Could you verify now by sending a fax to the sandbox number? Looks like the issue is resolved.

I am able to send a fax to the number you provided as well. 
Photo of Hardik Joshi

Hardik Joshi

  • 380 Points 250 badge 2x thumb
Hi AK,

yes its working fine now with sandbox account. thank you very much for your help.

Thanks,
Hardik Joshi
Photo of Hardik Joshi

Hardik Joshi

  • 380 Points 250 badge 2x thumb
Hi @AK,

Again i am getting "faxErrorCode":"Undefined" while sending a new fax. can you please look into it.

Thanks,
Hardik Joshi
Photo of Tyler Long

Tyler Long, Official Rep

  • 4,524 Points 4k badge 2x thumb
I have no idea. I have noticed the RingCentral platform team. We will get back to you soon.
Photo of Hardik Joshi

Hardik Joshi

  • 380 Points 250 badge 2x thumb
ok Thanks Tyler. let us know once you have information on it
Photo of John Wang

John Wang, Official Rep

  • 4,338 Points 4k badge 2x thumb
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.
Photo of Hardik Joshi

Hardik Joshi

  • 380 Points 250 badge 2x thumb
Thanks John,

I don't have permission in my app for call log, but I have tested today its working fine