09-07-2022 08:44 AM
Hello,
We are running into an issue where after authenticating successfully, the access tokens we receive from the POST response to https://webexapis.com/v1/access_token is missing scopes. The scopes we are asking are spark:people_read, cjp:config, and cjp:config_read. The only scope that is getting returned in the 200 response is spark:people_read. The Integration App setting on https://developer.webex-cx.com/my-apps/ for the App in question has the 3 above Scopes selected. We already manually granted access.
We verified that the initial GET request to https://webexapis.com/v1/authorize? has the scopes in the URL: "scope=spark%3Apeople_read%20cjp%3Aconfig%20cjp%3Aconfig_read".
To be clear, the POST to https://webexapis.com/v1/access_token is coming back with a 200 response code. But without the cjp scopes above, we cannot make any of the API calls necessary for our client's needs.
Any assistance in resolving this issue would be appreciated. We are on a tight deadline and currently dead in the water.
Solved! Go to Solution.
09-07-2022 03:47 PM
Hi,
The admin needs to be a Webex Contact Center Administrator - it looks like the user does not have a contact center license.
Can you please confirm this?
FAQ:
https://developer.webex-cx.com/faq/#gettingStarted
Thanks & Regards,
Arunabh.
09-08-2022 08:23 AM
That was indeed the issue. We had our customer double check and add the licenses required and we are now getting the Scopes we expect and the "Try Out" samples are working as well.
Thank you.
09-07-2022 03:47 PM
Hi,
The admin needs to be a Webex Contact Center Administrator - it looks like the user does not have a contact center license.
Can you please confirm this?
FAQ:
https://developer.webex-cx.com/faq/#gettingStarted
Thanks & Regards,
Arunabh.
09-07-2022 08:53 AM
Two other important details:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide