Hello,
I’m experiencing the following error when trying to use this endpoint to create codes for a group of locks:
PUT https://api.nuki.io/smartlock/auth
request:
{
“name”: “Mantenimiento”,
“allowedFromDate”: “2024-03-26T15:53:00.000Z”,
“allowedUntilDate”: “2024-03-31T14:53:00.000Z”,
“allowedWeekDays”: 127,
“smatlocksIds”: [
“********380”
],
“accountUserId”: ******431,
“remoteAllowed”: true,
“smartActionsEnabled”: true,
“type”: 13,
“code”: 112251
}
response:
Status pageInternal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request
You can get technical details here.
Please continue your visit at our home page.
To do them uniquely, I use this other endpoint: “PUT https://api.nuki.io/smartlock/{smartlockId}/auth”
and I have no problems, all the data goes in the same format. I don’t understand why it’s giving me an error.