cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1558
Views
0
Helpful
2
Replies

Cisco ASA 9.16 with API 7.16.1 - 401 Unauthorized

jspencer_dragos
Level 1
Level 1

Hello,

I'm testing API access on 2 ASAs. One 9.12 and one 9.16. Both with API 7.16.1. Interacting with 9.12 ASA works as expected. When requesting a token from 9.16 I get a 401 Unauthorized. Trying to access the documentation at https://asa-ip/doc/ returns a repeated request to authenticate. 

1 Accepted Solution

Accepted Solutions

jspencer_dragos
Level 1
Level 1

I think this is the problem. Cisco Bug: CSCvy17365 - REST API Login Page Issue

Upgrading to 9.16.2 to see if that resolves the issue. 

View solution in original post

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

401 means Validation or authorization failed :

 

check the config and token again  - the below document may help you :

 

https://www.cisco.com/c/en/us/td/docs/security/asa/api/asa_rest_api.html

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

jspencer_dragos
Level 1
Level 1

I think this is the problem. Cisco Bug: CSCvy17365 - REST API Login Page Issue

Upgrading to 9.16.2 to see if that resolves the issue. 

Getting Started

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: