Cannot find 'RealmProperty' in scope

Error:

Ending session with error: failed to validate upload changesets: SET instruction had incorrect partition value for key “_partition” { expectedPartition: {6051e7da417a6f01bb8a3323}, foundPartition: } (ProtocolErrorCode=212)

Logs:

[ “Session was active for: 0s” ]

Partition:

6051e7da417a6f01bb8a3323

Session Metrics:

{}

Remote IP Address:

101.53.254.85

SDK:

Realm Cocoa v10.7.2

Platform Version:

Version 14.4.1 (Build 18D61)

1 Like

@Muhammad_Awais Generally this means that the client is sending an object which has a different partitionKey value than the one used to open the realm. This is not allowed by the system and is also why we would recommend not setting the Realm Object partitionKey value yourself manually in code - to avoid these errors. You can leave the partitionKey out of your schema and the system will fill it in for you.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.