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 |
---|---|---|---|
Requiring local modules in app services function | 0 | 516 | May 2024 |
How to check if the Flutter realm has existing data | 0 | 582 | May 2024 |
Realm sync for specific multiple user | 0 | 155 | Aug 2024 |
Selection of EJSON or JSON function return type | 4 | 46 | Mar 17 |
Alternative for MongoDB Atlas Data API? | 2 | 338 | Feb 4 |