cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2073
Views
0
Helpful
3
Replies

CUCM AXL API HTTP 403 forbidden issue

leeorneway
Level 1
Level 1

Hi,

We have a web application that uses the CUCM's AXL and Serviceability APIs.
This app worked well in production and development environments until our last patch update to the CM in both environments.
Current CM version is: 11.5.1.15900-18.
Previous CM version is: 11.5.1.12900-21.
After the patch update, calls to AXL API only, returns with a 403 forbidden HTTP status code. 
A sample AXL request is attached. Calls to the RisPort70 endpoint returns with a 200 status code as expected.

 

As noticed, here are some requests and their resposnes's status code:
GET ../axl  returns with 200 --The only request that returns with a 200 status code.  
POST ../axl/listPhone returns with 403   (with or without a basic authentication header)
POST ../axl/getPhone returns with 403    (with or without a basic authentication header)
 
Actions that were taken in order to try solve the issue:
- Giving full permissions in the AXL API scope to the application user: 'Standard AXL API Access' role. Also tried to add/replace with ‘Standard AXL API Users’ and ‘Standard AXL Read Only API Access’ roles
- Use an Admin user
- Changing Debug Trace Level to 'Debug' and collecting CM logs- especially AXL logs as described here.
We found only informational entries that indicates of an HTTP 403 status code responses, with no additional relevant data for this issue
- Checking for AXL scheme changes. As in documentation- "Maintenance releases never include new AXL schemas (for example, n.n.N)."
 
Any ideas for what can cause this issue?
Thanks in advance,

Leeor

3 Replies 3

thedd
Level 1
Level 1
How does your application work?
Is it a php site, Python, C# or in what is the code written?
Did you try a SOAP Call to AXL Interface with another application?
Maybe try Postman.

As far as i read the user should not be the problem as the permissions where checked.
Even if some calls are working try to restart the AXl Service.

Do you see anything in the AXl Logs?
Do you use the axlapi.wsdl?

dstaudt
Cisco Employee
Cisco Employee

Might suggest opening a DevNet Developer Support ticket, as it seems you have the application working fine and this may be a version related issue or something strange that occurred during upgrade: https://developer.cisco.com/site/support/

One of our customer having same problem after the upgrade. Can you tell me the case number for me to follow?

Thanks,

Jung