I'm connecting to the Earth Engine API through a service account :
service_account = '[email protected]'
credentials = ee.ServiceAccountCredentials(service_account, 'test.json')
ee.Initialize(credentials)
but I cannot access my assets. when I try to execute :
ee.data.getAssetRoots()[0]['id']
That should give me the root folder name of my assets. Instead I get the following error :
IndexError: list index out of range
because the list is empty...
Is it a normal behaviour ? How can I access my assets ?