Skip to main content

42 Messages

 • 

812 Points

Wed, Jan 10, 2018 10:09 AM

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

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

Responses

42 Messages

 • 

812 Points

3 years ago

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