I have an error when execute npx cross-env CONTENTFUL_SPACE_ID=YOUR_SPACE_ID CONTENTFUL_MANAGEMENT_TOKEN=XXX npm run setup => Checking if destination space already has any content and retrieving it (1s) [failed] NotFound: Status: 404 - Not Found - Message: The resource could not be found. ...
Hi everyone! If you are running into an error when you run the setup command, you can try this solution to move on to the next step. We believe there is an issue if you try to run the command on a Windows machine and we’ll work on updating the code. In the meantime you can try this: In the contentful/setup.js file you can directly add your spaceId and managementToken and then you can run ‘npm run setup’. Make sure to not commit this file to Git! You should not share your management token. Here is an example of what it should look like: spaceImport({ spaceId: "YOUR-SPACE-ID-HERE", managementToken: "YOUR-MANAGEMENT-TOKEN-HERE", content: exportFile, })
Great video. Thanks for publishing this content. I wish you showed how you made the styling changes to the blog. Most of the videos I don't see a good dive into how to create the presentation side of the pages.
I have an error when execute npx cross-env CONTENTFUL_SPACE_ID=YOUR_SPACE_ID CONTENTFUL_MANAGEMENT_TOKEN=XXX npm run setup => Checking if destination space already has any content and retrieving it (1s) [failed]
NotFound: Status: 404 - Not Found - Message: The resource could not be found. ...
I got the same error...
I'm to, get same error
same error
if any one solve plz let us know.
me too
Hi everyone! If you are running into an error when you run the setup command, you can try this solution to move on to the next step. We believe there is an issue if you try to run the command on a Windows machine and we’ll work on updating the code.
In the meantime you can try this:
In the contentful/setup.js file you can directly add your spaceId and managementToken and then you can run ‘npm run setup’. Make sure to not commit this file to Git! You should not share your management token.
Here is an example of what it should look like:
spaceImport({
spaceId: "YOUR-SPACE-ID-HERE",
managementToken: "YOUR-MANAGEMENT-TOKEN-HERE",
content: exportFile,
})
Awesome tutorial, Brittany! Both educational and fun. Appreciate the dinosaur theme and puns 🦖🦕
Very clear.
This is an excellent combination - we empower marketing to update blog posts and sales copy this way without needing to spend developer time.
I like this
Great video. Thanks for publishing this content. I wish you showed how you made the styling changes to the blog. Most of the videos I don't see a good dive into how to create the presentation side of the pages.
Hey and Thanks is been very helpful and clearly explained.
you are also looking like dianasource