Home App Docs Blog Github

Data Model does not work

I created a date model with some objects, some mandatory, some not, etc., but when I create in “content” the console shows this error below, and the interface does not change

Uncaught (in promise) Error: [mobx-state-tree] Cannot add an object to a state tree if it is already part of the same or another state tree. Tried to assign an object to ‘/data/brand’, but it lives already at ‘/models/result/2/fields/0/defaultValue’

Sounds like you might be running into a bug with the data model. Can you provide some more information so we can try to reproduce the issue? What does your data model look like (what fields do you have, what types are they, etc.)?

I don’t know if you can access it, but this is the model: https://builder.io/models/efc3a2bb2c09419889f0bc13b60047a2

the fields is: