Web API problem with ACTION/UNLOCK and ACTION/LOCK command

Hi,

I Have the problem that the unlock command work but the Lock comand not
curl -X POST --header “Content-Type: application/json” --header “Accept: application/json” --header “Authorization: Bearer xxx” -d “{}” “https://api.nuki.io/smartlock/xxx/action/unlock” -v

will work and give back 204

will not work and give back 415:
curl -X POST --header “Content-Type: application/json” --header “Accept: application/json” --header “Authorization: Bearer xxx” -d “{}” “https://api.nuki.io/smartlock/xxx/action/lock” -v

this is shown up due a Bug in the device software i am use.
the lock command will only work when remove the -d option with the empty body.
Unlock doesn’t care about it.

just checked the Sync command, here it is the same.
with curl option -d {} will get an 415 error.

at the moment my device can’t remove the -d {} option so i have to send it every time

Thanks for the feedback; I will check this,
Could you try

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ 
   "action": 2, 
 }' 'https://api.nuki.io/smartlock/123456/action'

as a workaround for locking?

Yeah this works. But for sync I have no idea.

have you fixed the problem for the Sync command?