Nuki API reporting wrong state

Hi all,

I’m new to using Nuki API so sorry if I’m asking stupid question (still will try not to :sweat_smile:).

I’m using a Smart Lock 2.0 together with a bridge. I have integrated the door opening into one of my own apps. It works fine, but I have an issue with the state reported by the API.

At the moment, if I make an API call to /smartlock, the reported state is 254, which according to documentation means the motor is blocked. This is confirmed by the status of my smartlock seen on Nuki Web.

But if I use the Nuki app, I see the status is “locked”, which is correct, and I can successfully lock or unlock the door from the Nuki app (which means the motor is clearly not blocked).

Moreover, I already had the issue multiple times in the past that the API was reporting a status 3 (locking) or 5 (unlocking) while the Nuki App was clearly reporting locked or unlocked (which was correct). So clearly the status reported by the API was not correct.

Is there anything I can do to help regarding those issues ? Do I need to updated something maybe ?