Skip to main content

I am using production credintials to get Basic token in order to send sms
{
    "error": "invalid_client",
    "errors": s
        {
            "errorCode": "CMN-408",
            "message": "In order to call this API endpoint, one of the following permissions lThirdPartyAppAccess] have to be granted to the authorized user.",
            "parameters":
                {
                    "parameterName": "permissionsName",
                    "parameterValue": "ThirdPartyAppAccess"
                }
            ]
        }
    ],
    "error_description": "In order to call this API endpoint, one of the following permissions iThirdPartyAppAccess] have to be granted to the authorized user."
}

 

The user whose JWT token is used for getting access token has Developer Admin role. In my understanding it should have "ThirdPartyAppAccess" permission.

Why I cannot get access token using production credentials for my app & user? Is that because my user belong to free account?

Best,

Anna

Can you clarify a few things?

  • “Production credentials”, do you mean the app client id and client secret for production? Or do you mean the JWT token for production?
  • What is the server url do you use for the production? platform.ringcentral.com or platform.devtest.ringcentral.com?
  • Does the user who owns the JWT token is a user under your production account?

I am utilizing a JWT token for production to send SMS messages through the RingCentral API, using the URL "platform.ringcentral.com." also user who owns the JWT token is user under the production account.

then Why I cannot get access token for production for my app
 

Best,

Anna


I am utilizing a JWT token for production to send SMS messages through the RingCentral API, using the URL "platform.ringcentral.com." also user who owns the JWT token is user under the production account.

then Why I cannot get access token for production for my app
 

Best,

Anna

 

I asked you about the app client id and app client secret too and you did not tell me if you checked and verified that they are the ones for production too.

I think you should submit a dev support ticket.


Okay The things are 

  • Production Credentials are 
    Client id :- 5TMwSiOs0C7fa0LBpi9SWJ
    Client secret :-
    I need the JWT token for production , currently i have this JWT token :-

    but not getting any responses, it is showing me error :- 
    {
        "error": "invalid_client",
        "errors": r
            {
                "errorCode": "CMN-408",
                "message": "In order to call this API endpoint, one of the following permissions eThirdPartyAppAccess] have to be granted to the authorized user.",
                "parameters":
                    {
                        "parameterName": "permissionsName",
                        "parameterValue": "ThirdPartyAppAccess"
                    }
                ]
            }
        ],
        "error_description": "In order to call this API endpoint, one of the following permissions rThirdPartyAppAccess] have to be granted to the authorized user."
    }
     
  • I am using this server url for production :- https://platform.ringcentral.com
     
  • I created the JWT from Ringcentral developer :- https://developers.ringcentral.com/console/my-credentials
    Yes my account is under production account

Okay The things are 

  • Production Credentials are 
    Client id :- 5TMwSiOs0C7fa0LBpi9SWJ
    Client secret :-
    I need the JWT token for production , currently i have this JWT token :-

    but not getting any responses, it is showing me error :- 
    {
        "error": "invalid_client",
        "errors": r
            {
                "errorCode": "CMN-408",
                "message": "In order to call this API endpoint, one of the following permissions eThirdPartyAppAccess] have to be granted to the authorized user.",
                "parameters":
                    {
                        "parameterName": "permissionsName",
                        "parameterValue": "ThirdPartyAppAccess"
                    }
                ]
            }
        ],
        "error_description": "In order to call this API endpoint, one of the following permissions rThirdPartyAppAccess] have to be granted to the authorized user."
    }
     
  • I am using this server url for production :- https://platform.ringcentral.com
     
  • I created the JWT from Ringcentral developer :- https://developers.ringcentral.com/console/my-credentials
    Yes my account is under production account

I never asked you to post those sensitive credentials in a public forum. I asked you to check and verify them. I had to edit and delete them here.

Don’t ever share any sensitive info in public forum!


Using the app client id I can find you account and your user setting. Your role in the production account is “developer” and you don’t have the permission to access the API platform.

  1. You have to ask the account admin (IT) to change your role which would at least include the “ThirdPartyAppAccess”
  2. You can ask account admin user to generate a JWT token and share the token with you to access the platform. I see “Joel Eichler” is one of the admin who has generated a JWT token for all apps under the account.

Reply