gee-community/geemap

SecretNotFoundError when initializing geemap.Map() despite proper ee initialization

Closed this issue · 3 comments

Environment Information

Please run the following code on your computer and share the output with us so that we can better debug your issue:

import geemap
geemap.Report()

image

Description

Recently, when running map = geemap.Map(), I encounter a SecretNotFoundError despite having properly initialized Earth Engine.
This error occurs even after successfully running the authentication and initialization steps for Earth Engine.

Steps to Reproduce

import ee
import geemap

ee.Authenticate()
ee.Initialize(project='my-project')

map = geemap.Map()  # Raises error here


The geemap.Map() function should initialize without errors after Earth Engine authentication and initialization.

This issue occurs despite running the authentication and initialization steps as per the documentation. This was working fine previously but started occurring recently.


### What I Did

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

![image](https://github.com/user-attachments/assets/a2634996-ad5c-4b19-a5ec-8f880a4f107f)

Yes I am getting the same error. Thanks for reporting
@giswqs