Exception : "Mailbox has no permission to this action"

  • 1
  • Problem
  • Updated 1 year ago
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!

Photo of Devanand W

Devanand W

  • 154 Points 100 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Tyler Long

Tyler Long, Official Rep

  • 5,584 Points 5k badge 2x thumb
I am maintainer the RingCentral C# SDK. But 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 devsupport@ringcentral.com. They will check the log on server side to determine the issue.
Photo of AK

AK, Official Rep

  • 4,372 Points 4k badge 2x thumb
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 case with the API request and response to devsupport@ringcentral.com
(Edited)