09-22-2021 10:20 AM
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.
Solved! Go to Solution.
09-24-2021 06:09 AM
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.
09-22-2021 11:00 AM
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
09-24-2021 06:09 AM
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.
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: