cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
894
Views
0
Helpful
5
Replies

Issue with roles with developer access to build API Integration

techies23
Level 1
Level 1

Hello Team,

 

I am facing The server understood the request, but refused to fulfill it because the access token is missing required scopes or the user is missing required roles or licenses. when trying to authenticate requests via API.

 

Using following scopes:

'meeting:schedules_read',
'meeting:schedules_write',
'meeting:recordings_read',
'meeting:recordings_write',
'meeting:preferences_read',
'meeting:preferences_write',
'meeting:controls_read',
'meeting:controls_write',
'meeting:participants_read',
'meeting:participants_write'

 

Reading some other forums I understood that API requires paid plan of some sort ? However, i tried doing this using the developer sandbox account which I found on developer.webex.com - Is this not supposed to work there also without paid plans ?

1 Accepted Solution

Rudrakshi
Cisco Employee
Cisco Employee

A Developer Sandbox provides you with administrator access to a licensed Webex org, therefore it will allow you to test APIs as you would do with paid plans. However, it will need the Admin meeting scopes, you may refer the detailed documentation here:

https://developer.webex.com/docs/meetings#adminorganization-level-authentication-and-scopes

Hope this helps!



Best regards,
Rudrakshi Srivastava

View solution in original post

5 Replies 5

Rudrakshi
Cisco Employee
Cisco Employee

A Developer Sandbox provides you with administrator access to a licensed Webex org, therefore it will allow you to test APIs as you would do with paid plans. However, it will need the Admin meeting scopes, you may refer the detailed documentation here:

https://developer.webex.com/docs/meetings#adminorganization-level-authentication-and-scopes

Hope this helps!



Best regards,
Rudrakshi Srivastava

Hi there,

 

Thanks for the suggestion. After some fiddling, I did manage to get the API running using the developer sandbox account. I needed to sort out the scopes properly after that. Anyway, it works for now - I'll keep testing and open a new ticket if i face any further issues.

 

BTW, the section where you try the API does not work for sandbox account. (https://developer-portal-intb.ciscospark.com/docs/api/v1/meetings/create-a-meeting) or maybe I am just dumb. I was not able to sign in here with my existing sandbox credentials.

You should be on developer.webex.com not developer-portal-intb.ciscospark.com(this is a testing version). The correct link for creating a meeting would be https://developer.webex.com/docs/api/v1/meetings/create-a-meeting

Understood. Thanks. I have already managed to run this on my postman and on my site where I want to integrate.

 

Was only confused with the link when browsing on developer sandbox section. See attached. The link redirects to the one that I had posted on my previous thread.

 

Build-Developer-Sandbox-Webex-for-Developers.png

 

Either way, I have configured and figured out the API section on my part.

Thanks for pointing this out, that's a mistake on the portal. That link should instead be what Jeff provided, https://developer.webex.com/docs/api/v1/meetings/create-a-meeting. We'll let the engineering team know and get them to correct it to the right URL.