MongoDB.live, free & fully virtual. Register Now MongoDB.live, free & fully virtual. Register Now

Error when trying to bring the schema data (item.toJSON (index.toString (). Cache), 'item.toJSON' is undefined

Hello guys, I have a project in react native, and I have this error when it comes to consulting the schema data

const realm = await getRealm();
const data = realm.objects(‘Manutencao’);

I’m trying to get the data from this schema but this is returning the photo error.

And there is data in that schema, because I’m in the realm studio and I’m seeing the data haha. Can someone help me please? :frowning:
I’m using react native in the latest version