strapi-plugin-content-export-import
strapi-plugin-content-export-import copied to clipboard
Import throw Error: not found
Hi,
Thanks for this plugin. I installed the plugin and gave it a test run. The export works as expected, however, the import throws a NOT FOUND error.
main.1b25cb36.chunk.js:1 POST http://localhost:1337/content-export-import/import 404 (Not Found) debug POST /content-export-import/import (8 ms) 404.
Can you suggest anything that could solve this issue? Please let me know if what further information you would need.
Thanks
Hi @MauriceOppenberger ,
I kind of remember I have met this issue as well. A few things you could try to find more information:
- Check the permission
- Did you run
yarn build
thenyarn develop
? Not sure if you follow the steps one by one. - There could be an internal error, but strapi will throw 404 instead, check this issue https://github.com/strapi/strapi/issues/1522 So maybe there's something wrong with the code and specific content, maybe try a content type quite simple with only text field to test.
Hi @lazurey , Can we have a sample for the JSON to import, im facing the same issue.
console showing :

hi @mohmmadmoussa1988 a really simple example could be this:
[
{
"id": 1,
"title": "unique",
"content": "There is something to eat aha",
"created_at": "2020-06-08T01:48:47.555Z",
"updated_at": "2020-06-08T01:48:47.555Z"
}
]
You need to create a content type with only 2 fields, title
and content
to test.
I tried a simple example to import but it shows an error:
Any hints on this? (Strapi 3.1.3)
Anyone have any luck with this? - am on strapi 3.2.4 and get the same thing.