How to fix 'ARGUMENTS_NOT_ALLOWED' error Realm SDK for Kotlin?
I am using MongoDB to save data from my Android app which I am developing with Kotlin Jetpack Compose. I am using MongoClient to access the database and save the data, but when I try to insert a Document I get this error:
Error: ARGUMENTS_NOT_ALLOWED(realm:
appServiceError13)
This is my code where I login and try to insert a Document into MongoDB Cluster:
Realm.init(this)
val appID : String = "my-app-id";
app = App(
AppConfiguration.Builder(appID)
.build())...