I am using the Realm.ToDo exmaple . I try to upload a new object that is called UserRecord . each time I try to upload UserRecord I get this error :
Realms.Exceptions.RealmException: ‘Cannot write to class UserRecord when no flexible sync subscription has been created.’
Skip to main content
Hi @Tom_Pol,
I assume you’re referring to the .NET version of the typical version of the ToDo sample app.
The class UserRecord
isn’t part of the app models, so you’ve likely added it yourself: if that’s the case, you also have to add UserRecord
to your subscriptions (probably using the SetSubscriptions
call), otherwise you won’t be able to operate on it, as you haven’t defined any access.
That, in a nutshell, is what the error is saying.
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
Mocking a Realm App and User for testing on Swift | 0 | 526 | May 2024 |
Realm web local storage issue when logout then login | 0 | 292 | Jul 2024 |
About Realm Web Performs | 0 | 229 | Jul 2024 |
Crash in iOS - [RLMRealm verifyThread] | 2 | 237 | Aug 2024 |
Basic Cluster Access | 1 | 165 | Aug 2024 |