Claim device from customer token

Hi,
I have created a customer access token but it seems it is not able to claim a device using the device id i gave. Also actually I am trying this with electron device. And the SoftAP doesn't work for claiming process too. There are too much confusion in the API. I tried to claim using access token and device id from customer scope and i get error like this .

{
"ok": false,
"errors": [
"TypeError: Cannot call method 'equals' of undefined"
]
}

Thanks

Do those two sentences correlate? Since there is no SoftAP on Electrons.

yeah actually i tried to run softap and read more deeply on the codes and found that it is only for wifi-enabled device. So to claim a device instead of generating claim code i tried with directly claiming from deviceId but again it seems my customer scoped token doesn’t take device Id for the claiming process to specific customer.