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

Receiving Error not ok -- AxiosError: Request failed with status code 502

Open t3hchipmunk opened this issue 1 year ago • 4 comments

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!

t3hchipmunk avatar Feb 19 '24 19:02 t3hchipmunk

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 avatar Apr 15 '24 23:04 t3hchipmunk

@t3hchipmunk which value of config.json is giving you an error?

jairo-bc avatar May 14 '24 16:05 jairo-bc

In my case it was part of a theme, not the default config.json

t3hchipmunk avatar May 14 '24 17:05 t3hchipmunk

Same case I had an error in my cofig.json file @t3hchipmunk thanks!

mayrars avatar Jul 26 '24 15:07 mayrars