cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
350
Views
0
Helpful
1
Replies

Getting 403 error after successfully getting 200

tryingtodomyjob
Frequent Visitor
Frequent Visitor

I am currently using Postman to test permission and codes for CUCM 14 perfmonservice request. I will eventually move them to Zabbix.

I sometime get 200 OK and sometime get 403 forbidden. I haven't found a pattern to it. The account I am using has all the access control groups to rule out permission error but eventually will set up a separate account with just the needed permissions for Zabbix.

In RTMT, I see the successful ones in the audit log but not the 403 ones.

What can I do to have consistent 200 OK responce?

Also, this happens on one of my computers. Another computer with the same credentials and codes will just get 403 consistently. 

 

Code:

<!--Perfmon API - perfmonCollectCounterData - Request-->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap">
   <soapenv:Header/>
   <soapenv:Body>
      <soap:perfmonCollectCounterData>
         <soap:Host>[My CUCM hostname]</soap:Host>
         <soap:Object>Cisco CallManager</soap:Object>
      </soap:perfmonCollectCounterData>
   </soapenv:Body>
</soapenv:Envelope>

 

1 Reply 1

Tony Zunt
Frequent Visitor
Frequent Visitor

Hi, is it possible your access token expires? Do you have a proper bearer token when you get the 200 OK but do not have a proper bearer token when you get the 403? Hope it helps