stencil-cli
stencil-cli copied to clipboard
Receiving Error not ok -- AxiosError: Request failed with status code 502
Expected behavior
The theme will upload and activate
Actual behavior
I receive an error message not ok -- AxiosError: Request failed with status code 502
and a json string back.
Steps to reproduce behavior
Use the command stencil push
Environment
Stencil-cli version stencil --version
: 7.3.1
Node version node -v
: v18.15.0
NPM version npm -v
: 9.5.0
OS: Windows 10.0.19045.0
I had been doing frequent pushes over the last week. Today was the first time I had any hiccups. I do have available the full verbose log of the process if it would help to make that available.
Thanks!
I meant to close this as the issue was on my end. I had made a change to my config.json that went against schema.json. I tried making what was supposed to be a string value into a bool value. The system will work during development, but when you push to BC, I assume, there is a validator that runs and fails. The message returned doesn't give much in the way of help, maybe that could be re-worked or the config.json is validated before push?
@t3hchipmunk which value of config.json is giving you an error?
In my case it was part of a theme, not the default config.json
Same case I had an error in my cofig.json file @t3hchipmunk thanks!