stencil-cli icon indicating copy to clipboard operation
stencil-cli copied to clipboard

not ok -- Error: Request failed with status code 401

Open pmishra-brandcollective opened this issue 3 years ago • 4 comments

Expected behavior

stencil push should deploy the theme to the store as it was able to do so till 16th Sept 2021

Actual behavior

stencil push fails with below error response

not ok -- Error: Request failed with status code 401

Please visit the troubleshooting page https://developer.bigcommerce.com/stencil-docs/deploying-a-theme/troubleshooting-theme-uploads.
If this error persists, please visit https://github.com/bigcommerce/stencil-cli/issues and submit an issue.
### Steps to reproduce behavior

Environment

Stencil-cli version stencil --version: 3.5.2 Node version node -v: 12.22.1 NPM version npm -v: 6.14.12 OS: Mac Big Sur 11.6 (Intel CPU)

pmishra-brandcollective avatar Oct 01 '21 05:10 pmishra-brandcollective

I too am having the same problems. Get this not ok -- Error: Could not fetch a list of the store channels: Request failed with status code 401 when running stencil start or stencil push. I am running most recent version of Stencil-CLI. What to do?

diztinct-glenn avatar Oct 05 '21 14:10 diztinct-glenn

Same here. Nothing is working for me. @jdietz-atx any luck?

stencil --version
3.6.1

node --version
v12.22.6

spire-mike avatar Oct 05 '21 15:10 spire-mike

Generating a new stencil token and running the init command given fixed it for me.

spire-mike avatar Oct 05 '21 15:10 spire-mike

Generating a new stencil token and running the init command given fixed it for me.

Thank you! You are the man!

TakenIsAlreadyTaken avatar Nov 26 '21 10:11 TakenIsAlreadyTaken