"EARTHENGINE_TOKEN" or "EE_PROJECT_ID" ? #2081
-
Hello folks, I know this is a recurrent question, but I have been using geemap in Colab for a long time, with the secret configured as EARTHENGINE_TOKEN, and everything was working perfectly. However, today when I tried to run a few new examples, I kept getting the message: "Exception: Please set a secret named 'EE_PROJECT_ID' in Colab or provide a project ID." I double-checked all configurations, ensured the cloud project was set up correctly, and verified every step, but nothing seemed to work. Then, I tried copying the content of 'EARTHENGINE_TOKEN' to a new secret named 'EE_PROJECT_ID', and it worked! Is this a new issue, or is there something I might have done wrong? I'm asking that because all my students use the colab notebooks I produced and - of course - I'm using the same steps than https://book.geemap.org/chapters/01_introduction.html#earth-engine-authentication. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
We are aware of the issue. Should be fixed in the next release. For now, set both |
Beta Was this translation helpful? Give feedback.
-
Related issue: https://issuetracker.google.com/issues/345310354?pli=1 |
Beta Was this translation helpful? Give feedback.
-
hello, Dr. Wu I have also used geemap on colab for a long time, but in the last few days I have also encountered the question "Please set a secret named 'EE_PROJECT_ID' in Colab or provide a project ID." I have set EARTHENGINE_TOKEN and EE_PROJECT_ID according to your suggestion (refer to #2082), the code is as shown in the picture, but the error message still exists, may I ask what should I do? Thanks in advance |
Beta Was this translation helpful? Give feedback.
-
Dear @giswqs, I've been experiencing an issue with my Do you know of any way to extend the validity period of the token? |
Beta Was this translation helpful? Give feedback.
We are aware of the issue. Should be fixed in the next release. For now, set both
EARTHENGINE_TOKEN
andEE_PROJECT_ID
in Colab secrets should work.#2082