I’m using your Sync library for my Kotlin Multiplatform project for Android and iOS. I’ve been able to authenticate and create the user/collection before. Suddenly when I try to configure the realm, before signing in and interacting with the database, I get this error without any detailed information. It’s not the first time to work with Mongodb Device sync SDK, but this time I don’t see anything strange in the project logs, nor on the logs on MongoDB Atlas? Strange…
java.lang.IllegalStateException: [RLM_ERR_SCHEMA_VALIDATION_FAILED]: Schema validation failed due to the following errors:
Stacktrace:
System.out com.stevdza_san.codingquizzie I at io.realm.kotlin.internal.ConfigurationImpl$openRealm$2.invoke(ConfigurationImpl.kt:115)
System.out com.stevdza_san.codingquizzie I at io.realm.kotlin.internal.ConfigurationImpl$openRealm$2.invoke(ConfigurationImpl.kt:114)
System.out com.stevdza_san.codingquizzie I at io.realm.kotlin.internal.ConfigurationImpl.openRealm$suspendImpl(ConfigurationImpl.kt:114)
System.out com.stevdza_san.codingquizzie I at io.realm.kotlin.internal.ConfigurationImpl.openRealm(Unknown Source:0)
System.out com.stevdza_san.codingquizzie I at io.realm.kotlin.mongodb.internal.SyncConfigurationImpl.openRealm(SyncConfigurationImpl.kt:138)