-
Hi, I'm running a streamlit app on https://satschool.streamlit.app/ but I've started to get the following error:
I have a streamlit secret saved as This is the refresh token taken from And I have added Please could someone let me know what I'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
Copy the ENTIRE content of the credentials. See https://github.com/opengeos/solara-geemap |
Beta Was this translation helpful? Give feedback.
-
Coming back to this thread with an update for those who have the same problem: If you're having the same problem as me with hosting a geemap streamlit app, the solution that works is to use your refresh token (I had to reboot the app and wait 24 hours for this to take effect?). Using the entire earthengine credentials will not work. So your streamlit secrets should be something like: Hope that helps someone :) |
Beta Was this translation helpful? Give feedback.
-
I am working on a time sensitive project and I need help to resolve an earth engine initialization error. I encountered the error when I tested the ee_plugin with a short code. I was able to successfully. Also, was successful. However, when I typed the following code: <countries = ee.FeatureCollection("USDOS/LSIB_SIMPLE/2017")>, I got the error below: Traceback (most recent call last): I have authenticated the earth engine client library using import ee These three codes were executed successfully, but I still got the error above on my QGIS/Python Console when I tried this code again: countries = ee.FeatureCollection("USDOS/LSIB_SIMPLE/2017"). Please, can you provide any suggestion or help? |
Beta Was this translation helpful? Give feedback.
-
Find your project ID from the JS Code Editor. Run the folowing. ee.Initialize(project="YOUR-PROJECT-ID") |
Beta Was this translation helpful? Give feedback.
-
Thank you. |
Beta Was this translation helpful? Give feedback.
Copy the ENTIRE content of the credentials. See https://github.com/opengeos/solara-geemap