cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication problem between vSPoT and external server (endpoint). Error 401

igor_tunakin
Contributor
Hi,

We have installed a lockal vSPoT location server and tested it in the API Explorer and it is working fine.
Our problem is the interface between vSPoT and external analytic server. 
When we send a GET request from the external server, we get an answer, that our request is blocked due to authentication:
status: 401 Unauthorized
x-xss-protection: 1; mode=block
www-authenticate: Basic realm="Ruckus SPoT"

We checked the API key double and it is correct. 
May be someone faced the same problem or have an idea what is wrong...

Examples of request:
curl -i -X GET -H "Content-Type: application/json" -d'{"api_key":"API_KEY"}' https://192.168.10.218/api/v1/venues/name/devices/192.168.10.3/find.json

or

curl -i -u NAME:PASSWORD https://192.168.10.218/api/v1/venues.json


Regards
Igor
1 REPLY 1

igor_tunakin
Contributor
Well, the issue is closd. It was our mistake. 
The curl command used was wrong