I have got an Estimote Beacon which is in iBeacon mode. Previously, I tried registering Edddystone and I was successful in doing so. Now that , I'm trying to register it with Google Proximity Beacon API. But it's firing an error message as Invalid AdvertisedId id bytes length.
"error": {
"code": 400,
"message": "Invalid AdvertisedId id bytes length",
"status": "INVALID_ARGUMENT"
}
I wish to know how to parse the scan record so that the length of AdvertisedId would be correct. If there are any other changes that I should do, let me know.
Are you passing the AdvertisedId in the form of a Base64-encoded string of raw bytes? Note this part in the Proximity API documentation of the AdvertisedId:
Here's how to get such string using an interactive Ruby interpreter:
This last string is what you need to pass.