rgee icon indicating copy to clipboard operation
rgee copied to clipboard

Cannot Authenticate: Invalid request

Open RCBlackburn opened this issue 7 months ago • 1 comments

  • 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()

image

Attach your Python (reticulate) configuration:

library(reticulate)
py_config()

image

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.

RCBlackburn avatar Jul 05 '24 19:07 RCBlackburn