Error Handling with Nuki API

Hello everyone,

I am now working on integrating the Nuki Smart Lock API with my home automation system and getting trouble with error handling. :thinking:
I am getting a ‘401 Unauthorized’ error when I make API requests. I have generated an API token and included it in the header of my requests, and I am pretty sure the token has the necessary permissions.

Even after following the documentation ; I still receive this error intermittently.
Has anyone else faced this issue? What are the common causes, and are there specific steps I should take to troubleshoot and resolve it? I have checked Apps documentation .

I am also wondering how to ensure my API token is correctly configured and hasn’t expired or been revoked.

Any advice would be greatly appreciated.

Thank you in advance for your help!

Best regards, :slightly_smiling_face: