lazurey / strapi-plugin-content-export-import

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

Import throw Error: not found #5

Open MauriceOppenberger opened 4 years ago

MauriceOppenberger commented 4 years ago

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

lazurey commented 4 years ago

Hi @MauriceOppenberger ,

I kind of remember I have met this issue as well. A few things you could try to find more information:

mohmmadmoussa1988 commented 4 years ago

Hi @lazurey , Can we have a sample for the JSON to import, im facing the same issue.

console showing :

Screen Shot 2020-07-01 at 11 48 33 PM
lazurey commented 4 years ago

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.

jolic commented 4 years ago

I tried a simple example to import but it shows an error:

image

Any hints on this? (Strapi 3.1.3)

jumptrnr commented 3 years ago

Anyone have any luck with this? - am on strapi 3.2.4 and get the same thing.