ioBroker.nuki-extended icon indicating copy to clipboard operation
ioBroker.nuki-extended copied to clipboard

ERROR / getWebApi(): Error retrieving smartlocks: Cannot read properties of undefined (reading 'toLowerCase')

Open ymurawski opened this issue 1 year ago • 4 comments

Hi, i set up Nuki extended today and created and WEB API Token under https://web.nuki.io/#/pages/web-api / API Token- Generate API Token and gave it all rights.

Then i entered it in the Iobroker instance. But it just shows me my Bridge and not any opener or Door Lock. in Log it says getWebApi(): Error retrieving smartlocks: Cannot read properties of undefined (reading 'toLowerCase')

Any ideas ?

ymurawski avatar Apr 13 '23 09:04 ymurawski

I have the same issue

micudaj avatar Apr 28 '23 12:04 micudaj

I have the same issue

Update the adapter via the guthup repository... The cat symbol... They didn't update the adapter in iobroker to the latest release

ymurawski avatar Apr 28 '23 12:04 ymurawski

@ymurawski

Please always add the minimum required infos:

Version of adapter: Js-controlelr Version: Node Version:

If the problem is solved with 2.6.5 please let us know.

mcm1957 avatar Jun 26 '23 13:06 mcm1957

Hello I got the same issue.

Yesterday with:

📷 nuki-extended.0 2024-04-20 22:20:18.241warngetWebApi(): Error retrieving notifications: 502 - "<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n" 📷 nuki-extended.0 2024-04-20 22:18:29.162warngetWebApi(): Error retrieving smartlocks: 500 - "<html>\r\n<head><title>500 Internal Server Error</title></head>\r\n<body>\r\n<center><h1>500 Internal Server Error</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"

And now:

`

nuki-extended.0 2024-04-21 14:21:06.985 warn getWebApi(): Error retrieving smartlocks: Error: getaddrinfo ENOTFOUND api.nuki.io
nuki-extended.0 2024-04-21 14:21:06.984 warn getWebApi(): Error retrieving notifications: Error: getaddrinfo ENOTFOUND api.nuki.io
`

admin version: v6.13.16 Node.JS: v18.20.2 NPM: 10.5.0 Linux virtual machine: debian 12 bookworm Adapter version: 2.6.5

Since this two issues, I only change on my Unifi Dream Machine Pro the network safety for DNS shield on automatic. Ad Blocking is still on the network active. I had idea, that this could be a ad blocking problem, but this isn't.

M1cS0w avatar Apr 21 '24 12:04 M1cS0w