question

lionebra avatar image
lionebra asked Dan edited

Duplicate device IDs and Serial Numbers

We're seeing duplicate devices returned from Clover's Devices endpoint. Can two Clover devices have the same device id and same serial number? Or is there a bug in the endpoint? Here's a snippet of what we're seeing:
 {
            "href": "https://www.clover.com/v3/merchants/V3S78QR86009T/devices/502ca671-dbb4-444c-8dc0-98a13fce9793",
            "id": "502ca671-dbb4-444c-8dc0-98a13fce9793",
            "model": "CloverGo-iPad 4th gen",
            "merchant": {
                "id": "V3S78QR86009T"
            },
            "serial": "D0EF41F68CE7440D98298BA27668E1AA",
            "buildType": "USER",
            "deviceTypeName": "CLOVER_GO"
        },
        {
            "href": "https://www.clover.com/v3/merchants/V3S78QR86009T/devices/502ca671-dbb4-444c-8dc0-98a13fce9793",
            "id": "502ca671-dbb4-444c-8dc0-98a13fce9793",
            "model": "CloverGo-iPad 4th gen",
            "merchant": {
                "id": "V3S78QR86009T"
            },
            "serial": "D0EF41F68CE7440D98298BA27668E1AA",
            "buildType": "USER",
            "deviceTypeName": "CLOVER_GO"
        }
    ],
    "href": "http://api.clover.com/v3/merchants/V3S78QR86009T/devices"
}	
Thanks in advance.
Merchant
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Dan avatar image
Dan answered Dan edited
The device uuid is a unique key, there is presumably a bug in the code/query/schema.
2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

lionebra avatar image lionebra commented ·
@Dan, please clarify. Are you saying there is a bug in Clover's API? If so, will you file a ticket? Because otherwise, if you're saying the bug is on our side, then we can rule that out, because these results are copied from a Postman request to get the Merchant's devices.
0 Likes 0 ·
Dan avatar image Dan ♦ lionebra commented ·

Probably a bug in Clover's API, but its hard to know for sure without seeing the exact request.

0 Likes 0 ·

Welcome to the
Clover Developer Community