Skip to content

"Failed: Conflict" when importing JSON #22

Description

@mxeise

Hello everyony,

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

  • "413 Request entity too large"
  • "Failed: Payload too large"

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.

  • Strapi version: v3.6.0

Any help appreciated!

Thanks & best regards,
Max

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions