node-unifiapi icon indicating copy to clipboard operation
node-unifiapi copied to clipboard

Running on an Issue with basic example

Open ghost opened this issue 3 years ago • 0 comments

I'm running the default example trying to connect to my unifi controller. Why am I getting this error? Node version is v14.16.1, node-unifiapi: "^0.0.54"

UnifiAPI Debug is enabled +0ms UnifiRequest UnifiAPI-request Initialized with options { username: 'mdandrea87', password: '(mypassword)', baseUrl: 'https://127.0.0.1:8443', debug: true, debugNet: false, gzip: true, site: 'default' } +2ms UnifiAPI UnifiAPI Initialized with options { baseUrl: 'https://127.0.0.1:8443', username: 'mdandrea87', password: '(mypassword)', debug: true } +3ms UnifiRequest Trying to log in with username: mdandrea87 and password: (mypassword) +1ms UnifiRequest Successfuly logged in { rc: 'ok' } +1s Error { meta: { rc: 'error', msg: 'api.err.NotFound' }, data: [] }

ghost avatar Dec 06 '21 19:12 ghost