Skip to content

Running on an Issue with basic example #31

@ghost

Description

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: [] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions