Can't connect to REST API from VSCode

The following settings don’t work (error 401), why?

“openhab.connection.basicAuth.password”: “”
“openhab.connection.basicAuth.username”: “username”,
“”: “IP-address”,
“openhab.connection.port”: 8080,
“openhab.connection.authToken”: “token”

  1. Port shall be optional but if i leave it away I get the error “deprecated config => openhab.port”. Where does it get this from? Btw, same if I leave the empty password property away.

  2. If I asign the token to the username I get a connection but the hint to consinder to use openhab.connection.authToken" for the token. Makes sence but doesn’t work, why?

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.