cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1614
Views
6
Helpful
3
Replies

APIC-EM Sandbox X-Auth-Header 401 unauthorised

grs259222
Level 1
Level 1

Hello

I've been trying to follow the DevNet 'Learn & Code' documentation and am getting stuck authorising my REST API requests with the sandbox APIC-EM VM.

I can successfully obtain a service ticket value e.g ST-189-ar6AfacpDOBUsNpvcjSK-cas (I re-run the ticket request to ensure the token I'm using is valid) , however, when attempting to complete a GET REST request (using POSTMAN or other REST clients) I continually receive a 401 Unauthorised error message along with "Failed to provide a CAS service ticket to validate"

1.PNG

The X-Auth-Header does not seem to be a known header within the POSTMAN app (or others) & even if manually specifying the header this requests still are not authenticated correctly. I cannot find any other posts on this issue so I suspect I'm doing something wrong here... I'm just not sure what???

Any ideas appreciated :-)

1 Accepted Solution

Accepted Solutions

yawming
Cisco Employee
Cisco Employee

Use "X-Auth-Token" not  X-Auth-Header. Your ticket is fine.

View solution in original post

3 Replies 3

yawming
Cisco Employee
Cisco Employee

Use "X-Auth-Token" not  X-Auth-Header. Your ticket is fine.

Cheers.

Note to self: step away from the screen and engage brain!

Happy Holidays !