You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several users have reported the following error when using rs-embed with Google Earth Engine:
ee.ee_exception.EEException: Caller does not have required permission to use project 517222506229. Grant the caller the roles/serviceusage.serviceUsageConsumer role...
Root Cause
Project 517222506229 is not an rs-embed project — it is the GCP project associated with geemap's default OAuth Client ID. When ee.Initialize() is called without an explicit project argument, the GEE Python SDK falls back to the quota project linked to the OAuth client used during authentication. This is being fixed in the next release by allowing users to pass their own GCP project ID.
Workaround
After importing ee, re-initialize with your own GCP project before calling any rs-embed functions:
importeeee.Authenticate(force=True) # only needed once
Or directly run in the terminal:
earthengine authenticate --force
Replace your-gcp-project-id with your own GCP project that has the Earth Engine API enabled. You can find or create one at https://console.cloud.google.com/.
The force=True flag ensures this call overrides any previous initialization done internally by rs-embed or geemap.
For more information about how to selec/create GEE project, please refer to this link
bugSomething isn't workingenhancementNew feature or request
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
Several users have reported the following error when using rs-embed with Google Earth Engine:
Root Cause
Project 517222506229 is not an rs-embed project — it is the GCP project associated with geemap's default OAuth Client ID. When
ee.Initialize()is called without an explicit project argument, the GEE Python SDK falls back to the quota project linked to the OAuth client used during authentication. This is being fixed in the next release by allowing users to pass their own GCP project ID.Workaround
After importing ee, re-initialize with your own GCP project before calling any rs-embed functions:
Or directly run in the terminal:
Replace your-gcp-project-id with your own GCP project that has the Earth Engine API enabled. You can find or create one at https://console.cloud.google.com/.
The
force=Trueflag ensures this call overrides any previous initialization done internally by rs-embed or geemap.For more information about how to selec/create GEE project, please refer to this link
Beta Was this translation helpful? Give feedback.
All reactions