-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import - Failed: Method Not Allowed #17
Comments
I tried a clean install on Strapi v3.3.2 and I can do a simple export and import. Could you provide more information? e.g. Strapi version, is it a collection type or a single type, etc. |
It's a Collection type. NPM v. 6.14.8, I also ran "npm audit fix" for plugin and Strapi. Shows no errors and didn't help. POST method works (creates new empty single Work post): |
OK. So after trying lots of options. I accidentally made it to work (probably same as the 1st time but I couldn't recall the chain of events). All works now only if I do manual setup and then, on top of that I run command "npm i strapi-plugin-content-export-import". After npm command no need in running "npm run build". I checked on another brand new setup if all will work with these:
I don't know the reason but hope you can figure out for future. P.S. I also tried manual setup on a different Mac machine and import was giving the same error. P.P.S. Anyway, thank you guys for a great job as I need to migrate from WordPress to Strapi. Looks like it's only your import tool is accessible at the moment. |
I had the same problem but I ran the command "npm i strapi-plugin-content-export-import" and then "yarn develop" and it worked correctly! |
I had the same problem. The solution (after some hours of research ;-D ) is to clone the plugin into the correct folder: correct : ...plugins/content-export-import This happens if you just use git clone without any target folder. Maybe you can give a hint in the readme. Cool plugin. Thanks for this. |
Hi @sven09 thanks for pointing it out, I didn't know that the wrong folder name will cause this issue. Actually it's already in the README, just not obvious enough.
|
Thanks so much for your plugin, works fin on the fist run! - I took time to read the issues beforehand just in case... Marc |
Hi I have an error "Method Not Allowed", when trying to import valid JSON file. All export/import permissions were allowed for both Authenticated and Public user.
Any ideas how to fix it?
The text was updated successfully, but these errors were encountered: