03-08-2018 08:27 AM - edited 03-14-2019 06:01 PM
Hi,
I am unable to access any of the APIs on UCCE. I am using postman and I USE basic authentication using a domain account. However each time I get a 403 forbidden error.
E.g. I try to send a GET request for
https://x.x.x.x/unifiedconfig/config/globalsetting
Where x.x.x.x is IP address of router.
Using domainaccount@domain.com
But I get 403..
Solved! Go to Solution.
03-12-2018 11:02 AM
Be sure that the User has 'Configuration' selected in their User Profile. Also, is this a lab? You should be sending these requests to an AW/HDS so I assume you just have an all-in-one?
03-08-2018 10:35 AM
I'm pretty certain that globalsetting is not an API. What are you trying to retrieve?
03-08-2018 01:15 PM
Hi Omar,
Looks like this is a valid API. I saw this on a Cisco doc. When I browse to that url I get request for authentication which tells me it is valid page..
Even when I try other request like..
https://<server>/unifiedconfig/config/precisionqueue
I get same error. I am just trying to explore the APIs and not looking for anything in particular .
03-08-2018 01:23 PM
Do you have an SSL cert generated for the AW and installed locally on your machine?
03-08-2018 01:44 PM
03-08-2018 01:45 PM
03-08-2018 02:18 PM
Anthony
Indeed I tried without the domain and I get 401 unauthorized..I tried with domain\username and I get 401 as well
03-08-2018 02:32 PM - edited 03-08-2018 02:34 PM
That's very positive actually, since that tells you that your UPN format is passing the Authentication step. As in, you are supplying good credentials.
Now the 403 part is likely saying, you are not Authorized. Do you need to configure your user with any special roles? Like Administrator, or API Access, Remote Admin, etc.?
I did see this in the dev guide:
"Administrator access to Packaged CCE Administration APIs and items is defined by the role and by the departments for which the administrator is responsible."
03-12-2018 11:02 AM
Be sure that the User has 'Configuration' selected in their User Profile. Also, is this a lab? You should be sending these requests to an AW/HDS so I assume you just have an all-in-one?
03-12-2018 01:05 PM - edited 03-13-2018 06:32 AM
Thank you!. After trying the AW/HDS, I was able to get successful response for some queries. I still get 403 forbidden and I think it may well have to do with the roles. I successfully setup configuration role for the user on the config manager.
06-19-2019 07:22 AM
i am getting this 403 forbidden as well. i am sending the API requests to the AW/HDS and using the basic authentication as a domain user account, also that i have the "configuration" selected in the user profile.. still i get no response..
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: