MissingSchemaError

I’m trying to populate object that also contains reference to another but i don’t need that.
While doing so getting error " MissingSchemaError: Schema hasn’t been registered for model "
Please help me resolving this problem.

Hi Vinod,

Thanks for posting your first question and welcome to the community!

We will need some more information around this issue to help you with this.
Based on the error, it sounds like you have a data model defined on your client but the Schema on your Realm app has not been defined yet or is inconsistent with your coded data model.

Can you please advise if you have created a schema yet?

Please see the two approaches linked here for configuring your data model.
Have you gone through these steps yet? If so, which approach did you take?

What were you trying to do when this error appeared?

Regards
Manny

1 Like