CiscoDevNet / Getting-started-with-Cisco-SD-WAN-REST-APIs

Getting started with Cisco SD-WAN REST APIs
Other
77 stars 74 forks source link

Getting 'Login Failed' even though getting a [200] response. #3

Open eggee opened 5 years ago

eggee commented 5 years ago

I get a 'Login Failed' even though my response is a [200]. I added a 'print' to show the login_response i'm getting (below):

(venv) eggy:Getting-started-with-Cisco-SD-WAN-REST-APIs-fork eggy$ ./sdwan.py device_list login_response <Response [200]> Login Failed

Also, using Postman with same credentials the login works.

RyanGuyCode commented 3 years ago

I am super new to this. I keep getting the "CISCO SDWAN details must be set via environment variables before running." I know I need to have a file somewhere that has those variables. I have little to no idea where to go. This is a USER PROBLEM. Can you help give me a leg up to use this?