[Error] pscale auth login: decoding error response
RobotLivermore opened this issue · 5 comments
pscale auth login
Error: decoding error response: invalid character '<' looking for beginning of value
I have followed the guide of https://planetscale.com/docs/tutorials/automatic-prisma-migrations. But when i run the following command, i got an error.
pscale auth login
Error: decoding error response: invalid character '<' looking for beginning of value
Could anyone kindly help?
the version is: pscale version 0.125.0 (build date: 2022-12-13T15:43:16Z commit: 42da26c)
Hey @BohengLiu, thanks for holding on.
There are regions where PlanetScale is not available and it looks like you may be connecting from one of those regions – the People's Republic of China. It also looks we haven't gracefully handled it in the CLI so you're getting the cryptic error.
We have updated our API backend to return a proper response now. You still will not be able to use PlanetScale from within the People's Republic of China, but you'll get an access denied
instead of a non-specific error message.
I had the same error. how can i fix it