Unable to add the same device once deleted from the user account.

Kislay Chandan6 years ago

Hi. I have BW08. I was testing the device in my user panel. After testing I deleted the device from my user panel and tries to add that in other user panel (on same server/traccar)but it is creating error. It is showing duplicate device error. I am getting following error code.

 "Duplicate entry '866968031128722' for key 'uk_device_uniqueid' - MySQLIntegrityConstraintViolationException (... < QueryBuilder:477 < DataManager:448 < BaseObjectManager:87 < ...)" (excluding double quote) 

so what dos it means and how can I correct it. I think device is not getting deleted from the sever database. I am using Amzon Aws. I have already tried stopping the service. Restarting the service. But nothing worked.

Anton Tananaev6 years ago

It means that device is still in the system. Instead of creating a new one, link existing one to your user.

Kislay Chandan6 years ago

but how can I do that. I have no idea about this.

Anton Tananaev6 years ago

Setting > Users > Devices. You need to be admin.

Kislay Chandan6 years ago

thanks. it worked.