Byrne Reese avatar image
Byrne Reese posted

Fixing CMN-408: "In order to call this API endpoint user needs to have XXX permission"

The CMN-408 error code refers to specific error condition that affects a large number of RingCentral APIs relating to a user trying to perform an action via the API that their user does not have permission to perform. The error fits this basic pattern:

     "errorCode" : "CMN-408",
     "message" : "In order to call this API endpoint, user needs to have 
                  [PERMISSION NAME] permission for requested resource.",
     "errors" : [ {
         "errorCode" : "CMN-408",
         "message" : "In order to call this API endpoint, user needs to have 
                      [PERMISSION NAME] permission for requested resource.",
         "permissionName" : "PERMISSION NAME"
     } ],
     "permissionName" : "PERMISSION NAME"

There are two possible fixes to this problem.

User lacks the right permission

To isolate this as the root cause, try calling the same API while logged in as the Super Admin. The Super Admin has god-like powers and should be able to do everything. So if the Super Admin can do it, but the end user cannot, then the fix is simple: assign the specific permission to the user. This is done inside the Admin Console by a Super Admin or User Admin.

Your account does not have access to this feature

However, if even a Super Admin cannot perform the action via the API, then your account may not have access to this feature on the platform. You can verify this diagnosis by calling the Features API to see what your entitlements/features your account has.

The best way to resolve this specific issue is to reach out to support and ask how you can gain access to the necessary feature. You may need to upgrade your account, or you may need to purchase an account add-on. Work with support and they will help you.

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



ByrneReese contributed to this article

Related Articles