Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSONDecodeError: Expecting value: line 6 column 1 (char 10) #23

Open
OrranaLhaynher opened this issue Sep 3, 2021 · 2 comments
Open

Comments

@OrranaLhaynher
Copy link

Hi! I started using this repository, and initially I always received the login error. So I did some research and realized that the server used for the login and password I have is oss.growatt.com. So I changed the server url, but a new error appeared and I've been trying to solve for days and nothing.
The error is this -> JSONDecodeError: Expecting value: line 6 column 1 (char 10)
Could someone tell me why this is?

@Sjord
Copy link
Owner

Sjord commented Sep 3, 2021

The client performs a request to the server. The server sends a response. The client expects that response to be JSON, but it isn't, so you get a JSONDecodeError.

I think oss.growatt.com is not just another server, but it has another API as well. Do you have a reseller account or something like that? The URLs that work for server.growatt.com may not work for oss.growatt.com.

@OrranaLhaynher
Copy link
Author

Unfortunately I don't have reseller access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants