Authentication JSONDecodeError

While I want to authenticate via


I am getting this error: JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Can you show more of the error stack trace?
Because the screenshot you shared does not contain any reference to openeo related code


I think your refresh token file is corrupted (e.g. existing but empty).

can you to remove it with one of the approaches discussed here:

FYI: I made a github ticket to improve error message: Better handling of corrupt config/refresh token file · Issue #268 · Open-EO/openeo-python-client · GitHub

1 Like

Thanks @stefaan.lippens. It solved the issue with JSONDecodeError.

Solution: RefreshTokenStore().remove()