question

devanand-w3658 avatar image
devanand-w3658 asked ak answered

Exception : "Mailbox has no permission to this action"

We are using ringcentral ringout call API for calling. But yesterday we saw this exception gets logged in Gibraltar for one of our user while calling. Please note we do login into C# sdk with users PhoneNumber, Password and PhoneExtension before they call. We tried to reproduce this exception again by using this users credentials for which we were getting this exception but we are now able to login and call without any error now. But we would like to know why this exception gets thrown while login (or may be while posting ringout API request) for this user.


Please refer below stack trace for more details :


RingCentral : RingCentral.Http.ApiException

Mailbox has no permission to this action

at RingCentral.Http.ApiResponse..ctor(HttpResponseMessage response, HttpRequestMessage request)
at RingCentral.Platform.Send(HttpMethod httpMethod, Request request)
at RingCentral.Platform.Post(Request request)


Thanks!

getting started
1 |3000

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

I am maintainer the RingCentral C# SDK. But the error message is from server side and there is no easy way to reproduce it.


Please send the exception message together with your app key to the developer support team or submit a support ticket. They will check the log on server side to determine the issue.

1 |3000

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

ak avatar image
ak answered

Hi Devanand,

This error occurs when you do not have a phone number ( Direct / Digital line ) assigned to the User / Extension.

See this link on how to set this up:

https://devcommunity.ringcentral.com/ringcentraldev/topics/how-to-make-sure-ringout-works

** Let us know if you are using this in sandbox / production account . Free Accounts do not have this capability in Production and they will encounter this error.

If you still have issues, please create a support ticket with the API request and response to the developer support team.

1 |3000

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

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