I followed the steps on GitHub - prismicio-community/nextjs-starter-prismic-multi-language: Multi-language project with Next.js & Prismic
npx @slicemachine/init ends up with an error uploading documents
You're about to configure Slicemachine... Press ctrl + C to cancel
Logged in as ******
Next.js detected
? Connect a Prismic Repository or create a new one Use NotYour.Business "notyourbusiness.prismic.io"
? Your repository already contains Slices. Do you want to continue pushing your local Slices? Yes
Pushing existing Slice models to your repository
? Your repository already contains Custom Types. Do you want to continue pushing your local Custom Types? Yes
Pushing existing custom types to your repository
Pushing existing documents to your repository
Error! Sending documents failed, please try again. If the problem persists, contact us.
Error! Full error: ERR_BAD_REQUEST - Request failed with status code 401
Is there any log file somewhere ? Any idea about the potential problem ?
repo: notyourbusiness
node v16.14.2
"dependencies": {
"@prismicio/client": "^6.6.1",
"@prismicio/helpers": "^2.3.2",
"@prismicio/next": "^0.1.3",
"@prismicio/react": "^2.4.4",
"@prismicio/slice-simulator-react": "^0.2.2",
"clsx": "^1.2.1",
"flag-icons": "^6.6.4",
"next": "12.2.4",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@prismicio/types": "^0.2.0",
"@tailwindcss/aspect-ratio": "^0.4.0",
"autoprefixer": "^10.4.8",
"concurrently": "^7.3.0",
"eslint": "8.21.0",
"eslint-config-next": "12.2.4",
"postcss": "^8.4.14",
"prettier": "^2.7.1",
"prettier-plugin-tailwindcss": "^0.1.13",
"prismic-ts-codegen": "^0.1.1",
"slice-machine-ui": "^0.4.2",
"tailwindcss": "^3.1.8"
}