cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
358
Views
1
Helpful
2
Replies

Unable to enable a location for Webex Calling

GammaDan
Level 1
Level 1

Hello..

Im trying to use a POST request to this API call to enable a location for Webex Calling - https://developer.webex.com/calling/docs/api/v1/location-call-settings/enable-a-location-for-webex-calling

When I have generated an access token, I have included these scopes as suggested by the API docs

'spark-admin:locations_write',
'spark-admin:telephony_pstn_read',
'spark-admin:telephony_pstn_write',
 
But the API is returning a 403 (and it states that it failed for a PUT request, presumably something that happens behind the scenes?). The login I am using is a full admin.. any help would be much appreciated !!
 
{
    "error": [
        {
            "key": "403",
            "message": [
                {
                    "description": "PUT failed: HTTP/1.1 403 Forbidden (url = https://collabadmin-k.wbx2.com/collabadmin/api/v1/locations/<REDACTED>, request/response TrackingId = ROUTERGW_510cf546-ccff-4c83-b0de-30f08deb741e, error = 'Forbidden')",
                    "code": "403"
                }
            ]
        }
    ],
    "trackingId": "ROUTERGW_510cf546-ccff-4c83-b0de-30f08deb741e"
}
1 Accepted Solution

Janos Benyovszki
Cisco Employee
Cisco Employee

@GammaDan you mentioned that the Integration you are using has the correct scopes, but it's possible that the token that was generated for it, is missing something. That's what the error is pointing to. You can open a ticket with our Developer Support team - https://developer.webex.com/explore/support, there we can check the scopes of your token. Please do not share your active token in this Community Forum thread!

View solution in original post

2 Replies 2

GammaDan
Level 1
Level 1

Great thanks for getting back to me Janos, I have raised a ticket to see if someone is able to investigate for us 

Janos Benyovszki
Cisco Employee
Cisco Employee

@GammaDan you mentioned that the Integration you are using has the correct scopes, but it's possible that the token that was generated for it, is missing something. That's what the error is pointing to. You can open a ticket with our Developer Support team - https://developer.webex.com/explore/support, there we can check the scopes of your token. Please do not share your active token in this Community Forum thread!