MeltingDog
MeltingDog

Reputation: 15424

How to solve BigCommerce Stencil CLI 404 error?

I need to work on an existing Big Commerce site.

I've downloaded and installed Stencil CLI with no issues.

I've logged into my BigCommerce site and set up a Stencil API Token, I've downloaded the theme, extracted it and run npm install. I then ran:

stencil init --url https://yourstore.com/ --token 19d3ae6-dc15-4af9-bead-a2c703aa7b --port 3000

with no issues. Then ran stencil start.

However, I get the error:

not ok -- Error: The BigCommerce Store you are pointing to either does not exist or is not available at this time. Error details: Request failed with status code 404

I've tried both my store's URL and https://store-12345.mybigcommerce.com/ and ensured there was a / at the end of the url.

The site loads fine - I can access the front end without issue.

I've running version 3.2.1 of Stencil and version 12.18.3 of node.

Would anyone know what I should be doing?

Upvotes: 0

Views: 1658

Answers (1)

Heather Barr
Heather Barr

Reputation: 362

As a workaround, this may help -- it suggests disabling ssl checks and since the cli is only used for dev purposes this isn't a dangerous decision. :)

Upvotes: 0

Related Questions