lazurey / strapi-plugin-content-export-import

Strapi plugin for content export and import
166 stars 47 forks source link

"Failed: Conflict" when importing JSON #22

Open mxeise opened 3 years ago

mxeise commented 3 years ago

Hello everyony,

I am trying to import a 3,2mb JSON file and was running into two issues:

My NGINX is configured in reverse proxy, so I've set client_max_body_size 200M;in /etc/nginx/nginx.conf. Refering to this documentation, changed config/middleware.js to: module.exports = (strapi) => { return { settings: { parser: { enabled: true, multipart: true, formLimit: "500mb", jsonLimit: "200mb", formidable: { maxFileSize: 524288000, }, }, }, }; };

That solved the above issues but still I'm getting an error Failed to load resource: the server responded with a status of 409 (Conflict) at import:1. Interesting though some entities still get imported, but the error appears to happen at around 147/148. I would exclude the file as a possible problem as I've successfully imported the file in local production.

Any help appreciated!

Thanks & best regards, Max

akash-dk-01 commented 2 years ago

@mxeise you need to import file table