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

Stencil start gives ,"not ok -- StoreHashReadError: Request failed with status code 403"

Open sbansal62 opened this issue 3 years ago • 8 comments

Actual behavior

I have installed stencil and generated api token. I do stencil init. But when I do stencil start, I get the error

"Stencil start gives ,"not ok -- StoreHashReadError: Request failed with status code 403"

Can someone please help. The first token I generated was "Create Stencil-CLI Token" with "Publish Theme" access. This gives 403 error.

I then generated another token using "Create V2/V3 API Token" and assign myself all modify access. Using this token in stencil init gives the same 403 error.

I tested the credential using postman. And the api call works. It returns status 200 with data.

Please can anybody help. Thanks a lot.

Below is information on the environment and versions.

Thank you so much.

Environment

Apple MacBook Air M1 Chip

Stencil-cli version stencil --version: 3.5.2 Node version node -v: 12.1.0 NPM version npm -v: 6.9.0 OS: Mac OS BigSur, v 11.3.1

sbansal62 avatar Sep 28 '21 07:09 sbansal62

I'm facing the same error with different status code not ok -- StoreHashReadError: Request failed with status code 404 I'm using Windows and almost same versions of other.

@sbansal62 did you get any update on this how to fix it?

Nihir10dec avatar Jan 05 '22 04:01 Nihir10dec

@Nihir10dec have got no updates. Still waiting for some resolution on this.

sbansal62 avatar Jan 05 '22 06:01 sbansal62

One coworker had the same issue here and we fixed it by downgrading it to version 3.5.1 (a version that works on my pc)

npm install -g @bigcommerce/[email protected]

https://github.com/bigcommerce/stencil-cli/issues/772

brunosfreitas avatar Jan 12 '22 14:01 brunosfreitas

One coworker had the same issue here and we fixed it by downgrading it to version 3.5.1 (a version that works on my pc)

npm install -g @bigcommerce/[email protected]

#772

this version works for me.

josandi avatar Jan 28 '22 20:01 josandi

One coworker had the same issue here and we fixed it by downgrading it to version 3.5.1 (a version that works on my pc)

npm install -g @bigcommerce/[email protected]

#772

Excelent! Thanks

thiiagosp avatar Feb 14 '22 14:02 thiiagosp

Not working...

caglaroptimum7 avatar May 24 '22 15:05 caglaroptimum7

Not working...

Did you try generating new CLI tokens? I had a similar issue and it worked for me. I'm on CLI 4.1.1

https://github.com/bigcommerce/stencil-cli/issues/913

danvisionarybrands avatar May 31 '22 16:05 danvisionarybrands

I'm getting this error and cannot npm install -g @bigcommerce/[email protected]

Also tried installing stencil version 3.12.0, no luck

I tried copy the node_modules folder from another team member's code and still doesn't work.

Node version: v12.22.12

adotterer avatar Feb 28 '23 15:02 adotterer