06-02-2016 01:09 AM - edited 06-04-2019 02:24 AM
Hello. I'm trying to get a service ticket from the body of a POST request on the url "https://sandboxapic.cisco.com:9443/api/v1/ticket". The request contains a json that looks like this: "{ "username" : "admin", "password" : "C!sc0123" }". This is the first time the post request returns the error "INVALID_CREDENTIALS" with the message "Please provide valid credentials" instead of the service ticket i requested. What credentials should I use then, if not the provided ones?
Solved! Go to Solution.
06-02-2016 03:12 AM
please reference https://developer.cisco.com/site/apic-em/documents/getting-started/ for further information on the AlwaysOn sandbox for APIC-EM
06-02-2016 03:12 AM
please reference https://developer.cisco.com/site/apic-em/documents/getting-started/ for further information on the AlwaysOn sandbox for APIC-EM
06-02-2016 07:09 AM
I can confirm that when the credentials listed at https://developer.cisco.com/media/apic-em-getting-started-5-18-16/t_setup_always_on_sandbox_new_getstart_aem.html are used, then the API ticket is properly granted. That is, the credentials you are using here are wrong.
06-02-2016 07:41 AM
Thank you very much for the answers! The credentials provided there are working!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide