Baboo7 / strapi-plugin-import-export-entries

Import/Export data from and to your database in just few clicks.
175 stars 86 forks source link

[Question] - Validation errors #147

Open shapeshifta78 opened 11 months ago

shapeshifta78 commented 11 months ago

I get some errors I don't really know how to fix. Can someone tell me what ValidationError: 1 relation(s) of type plugin::users-permissions.role associated with this entity do not existmeans? I have several errors like that.

I am trying to transfer data from a production instance to a local dev instance. I set all the rights for public and authenticated users, do I have to create the users which exist in prod as well?

Baboo7 commented 8 months ago

It means that a role is missing in the data your importing. It's related to the users-permissions plugin. My guess is a user is being imported with a role from the data file that is not present in the database