I previously had an entry with this name, but I deleted it from the phone application. However, when looking at the Nuki WEB interface, an entry with that name still exist, and trying to delete it lead to an undefined error.
I am also noticing a lot of other entries in the Nuki Web interface that were deleted previously, but are still displayed here. All of theses entry doesn’t show up in the phone application.
The daily sync happens once a day to fix the auth syncing between apps and web. But if you want it to happen immediately, you can force a sync through the API (or update the SL from Nuki Web).
The Nuki Web API is asynchronous, which means, you will get the 204 response code if the request is received by our servers. The deletion may or may not happen, and sometimes it takes upto a few seconds. You must use the GET endpoint to validate this at your end.
Sorry the message didn’t come out correctly. No it doesn’t make sense to do that.
If you delete the auth, and is it failing for every request even when the device is online? Then it is definitely a problem when you say delete is not working even when the device is online.
How often do you delete auths? Couldn’t you push a sync when you do the deletion process to be sure that all auths are synced after deleting if you cannot wait until the daily sync process? On another note, if the daily sync didn’t remove the deleted auths, then it could be a bug. Please report if you faced this issue.
Thank you for taking the time to answer and to help
It is not failing for every request, sometimes it does, sometimes not. I am unaware of what might be the reason. The delete is issued from a server handling the various apartment bookings, and the Nuki and it’s bridge are always connected.
Auth are deleted a few days past each booking, I would say 6-7 times a month. I have no problem waiting for the daily sync (I don’t do a sync myself), but what I observe is that some of the delete command simply never are processed.
I think it may be a very specific case. In your case, waiting for the daily sync is the best option.
Since you say, auths need to be deleted after each expired booking, is there a way to trigger a webhook for the same?
Regarding the issue with deletion, it could be the issue that the call is failing sometimes.
Thanks for reporting, we will look into this, more as a generic problem, as to why some commands may get lost. But it will take some time for the investigation.
If you still see a lot of issues, I suggest you file a ticket with our customer support to look into the issue for you specifically. Thanks.
I’m a bit confused now. Each of the keypad PIN authorization I create has a starting and an ending date. My need is to delete keypad PIN once the ending date has passed. I am not sure sure how I can achieve that with a webhook.
At the moment, my manager application just goes through the pin and issue the deletion when the date has passed. It happen many time (I have no concrete idea, but considering how many old pin I see when I check, I would say this happen very frequently) that the command never complete.
That is a really buggy behavior, and it lead to many problem:
problem generating new pin if the randomly assigned pincode is the same as one of the older supposedly deleted pin.
problem generating new pin when the device memory is full, because of many pin supposedly deleted being still sitting in memory.
Considering I need to fix this problem, what other solution do I have than issuing a DELETE followed by a GET, in a loop until the pin is really deleted ?