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 |
---|---|---|---|
Keep login information persistent with 12.0.0-browser.2 | 0 | 271 | Jul 2024 |
Cannot use the LIMIT operator in Realm Query Language | 1 | 191 | Aug 2024 |
realm sdk Can we add agents | 0 | 139 | Aug 2024 |
Deprecation of Realm Swift SDK | 0 | 566 | Oct 2024 |
MongoDB aggregation equivalent in Realm/ App services | 5 | 74 | Oct 2024 |