question

Puneeth Bharadwaj avatar image
Puneeth Bharadwaj asked Puneeth Bharadwaj commented

Issue with sending/reading faxes - Multiple errors with statuses - "Too Many Requests", "Not Found", "Service Unavailable", "Bad Request"

There have multiple instances where the API sends back an error response, stating "Too Many Requests", "Not Found", "Service Unavailable", "Bad Request". This error repetition has significantly increased in October 2020. Following are the examples.

Response: StatusCode: 404, ReasonPhrase: 'Not Found', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { Connection: keep-alive RCRequestId: 43a61904-1dc1-11eb-8f8a-0050568d56ad RoutingKey: IAD01P13PAS06 X-Rate-Limit-Group: medi

Response: StatusCode: 429, ReasonPhrase: 'Too Many Requests', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { Connection: keep-alive X-Application-Context: application:8080 X-Rate-Limit-Limit: 5 X-Rate-Limit-Window: 60 X-R

Response: StatusCode: 503, ReasonPhrase: 'Service Unavailable', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { Connection: keep-alive X-Application-Context: application:8080 Retry-After: 40 RCRequestId: be75562a-ebcd-11ea-ad

Response: StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { Connection: keep-alive RCRequestId: 366eb026-0bb4-11eb-b8a3-0050568db9e8 RoutingKey: SJC01P13PAS07 X-Rate-Limit-Group: he

faxerrors
1 |3000

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

1 Answer

Anirban avatar image
Anirban answered Puneeth Bharadwaj commented

So what is your exact question? Do you want to know the reason behind these errors?

429 'Too Many Requests' is due to the violation of Rate limit applied on the API. You need to check the rate limit plan applied on your API.

503 'Service Unavailable' is due to some temporary issue with the server, some temporary outage or server down issue.

400 'Bad Request' is due to the improper request fed in the API called. if the API request is not as per the API format defined, you may get this error.

If you want to check why these error has increased after a specific date, you can either debug checking logs or you can request the backend Dev support team to investigate and ask their help.

If you have a production account, you can raise a support request with them asking help to investigate the issue

1 comment
1 |3000

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

Puneeth Bharadwaj avatar image Puneeth Bharadwaj commented ·

Yes, would like to know the reason behind an increase in these errors. I have already raised a ticket and posted a query on the developer forum as well. I haven't received any updates on the developer forum question.

Following is an example of the "Purged" incoming fax. Time is in UTC.

2020-11-04 03:26:19.053

{
   "uuid":"1219366765209121432",
   "event":"/restapi/v1.0/account/334268009/extension/277890029/fax?direction=Inbound",
   "timestamp":"2020-11-04T03:26:16.328Z",
   "subscriptionId":"c73ed71d-61d5-4aa9-aea3-93ffb4123766",
   "ownerId":"334268009",
   "body":{
      "uri":"https://api.ringcentral.com/restapi/v1.0/account/334268009/extension/277890029/message-store/1379138253028",
      "id":1379138253028,
      "type":"Fax",
      "availability":"Purged"
   }
}
0 Likes 0 ·

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys