BadChangeSet: failed to validate upload changesets: SET instruction had incorrect partition value for key "uuidFamily"

Sync was working yesterday. Today I’m getting the error shown below. I’m not sure where the 4CC… value is coming from. I have the expected partition value in my realm configuration

user.configuration(partitionValue: “0C946EBD-D806-4408-86FE-9EB9A2611D6E”)

and in the uuidFamily of all of my local Realm objects.

uuidFamily = 0C946EBD-D806-4408-86FE-9EB9A2611D6E;

Any suggestions?

I’ve tried querying for “4CCE48C9-02D0-4DB7-A2D3-ECE55F268454” on all of my local collections uuidFamily fields and found nothing. Also found nothing searching for it on MongoDB Compass. Any suggestions?

Using iOS and Swift.
Realm 10.5.2
RealmDatabase 10.4.0

In the cloud, my clusters uses Version 4.4.3.

Log Error:

failed to validate upload changesets: SET instruction had incorrect partition value for key “uuidFamily” { expectedPartition: {0C946EBD-D806-4408-86FE-9EB9A2611D6E}, foundPartition: 4CCE48C9-02D0-4DB7-A2D3-ECE55F268454 } (ProtocolErrorCode=212)
Partition:

0C946EBD-D806-4408-86FE-9EB9A2611D6E
Write Summary:
{
“JournalsDB”: {
“inserted”: [
“DE6D218A-A496-4F8F-8F03-FF868DFB8BAA”,
“25B7388D-FE41-412D-8DD0-B9B55E347107”,
“831811E3-8938-4EAA-8895-8F86C7314DE4”,
“B48E8CD9-51D7-45D7-B1FB-1CFACDD8A505”, …

Might be worth using Realm Studio to check the contents of the realm(s) in your frontend app. If you’re developing on iOS then you can find the instructions here on how to do that.

By any chance, is the 4CC a users uid?

4CCE48C9-02D0-4DB7-A2D3-ECE55F268454 looks like the id of an application/device in xcode simulator. Example:

/Users/user.name/Library/Developer/CoreSimulator/Devices/5241DED7-3B5E-42F0-8797-CD91789330FA/data/Containers/Data/Application/F254B6DD-DB91-4D34-8B66-673E27441067/Documents/

You could try printing the line below at the beginning of your app and see if the id’s in the output match the 4CC number:

Realm.Configuration.defaultConfiguration.fileURL

1 Like