rgee
rgee copied to clipboard
Cannot Authenticate: Invalid request
- rgee version:1.1.7
- R version: 4.4.0
- Operating System: Linux Rocky 8.9
At submit an issue, please attached the following information of your rgee
session:
- [ ] You have the Python API installed (from terminal):
earthengine -h
NameError: name earthengine is not defined
- [ ] You can find the credentials file on your system:
library(rgee)
ee_path <- path.expand("~/.config/earthengine/credentials")
file.exists(ee_path)
FALSE
- [ ] You can run a simple EE command from R:
library(rgee)
# Initialize the Earth Engine module.
ee_Initialize()
Attach your Python (reticulate) configuration:
library(reticulate)
py_config()
Description
I am having issues with the authentication step. Instead of generating a code, I get the invalid request displayed above.
What I Did
I have ran:
ee_Intialize(quiet = TRUE)
ee_Authenticate(quiet = TRUE)
ee_Intialize(quiet = FALSE)
ee_Authenticate(quiet = FALSE)
ee_Authenticate(auth_mode = "paste")
ee_Authenticate(auth_mode = "notebook")
ee_Authenticate(auth_mode = "gcloud")
ee_Authenticate(auth_mode = "appdefault")
Each time I run into the invalid request in some form or another.
Any tips for getting around the authentication step would be greatly appreciated!
Thanks.