I’m not sure how this works, but it looks like there is some problem with your authorization.
I tested it over here and I can perform a GET to the version endpoint with an invalid Token, but can’t do it on the devices endpoint.
Can you double-check your Bond Token? If that doesn’t fix it, I can check with @marcio next week (he’s out this week).
Ah, it wasn’t a token issue but rather how I entered the IP address and token.
The sample code includes the line:
bond = Bond(“[your ip or hostname here]”, “[your bond API token here]”)
Not being a Python programmer I simply assumed (bad idea) that the IP address and token were to be inserted between the symbols (as I recall that is a list in Python…could be very wrong). So the solution is quite simple:
bond = Bond(“your ip or hostname here”, “your bond API token here”)