olivierhagolle / theia_download

To download products provided by Theia land data center : https://theia.cnes.fr
46 stars 23 forks source link

User profile has not been validated #13

Closed daviddemeij closed 4 years ago

daviddemeij commented 4 years ago

I am trying to download Maja processed images through this tool (specifically downloading only the cloud mask if possible), I tested this tool using the following command:

python2 ./theia_download.py -l 'Toulouse' -c SENTINEL2 -a config_theia.cfg -d 2016-09-01 -f 2016-10-01 -m 50

But I am getting the following error: {'ErrorMessage': 'User profile has not been validated. Please contact an administrator', 'ErrorCode': 403}

I set the config_theia.cfg with the email and password and using this account through the website I am able to download a sentinel tile. Is there any separate way I should validate the account to be able to use the API?

daviddemeij commented 4 years ago

I just found an old issue: https://github.com/olivierhagolle/theia_download/issues/6 that should solve my problem.

daviddemeij commented 4 years ago

Changing my password to only characters and numbers did not solve my issue unfortunately

daviddemeij commented 4 years ago

Update #2: After deleting the old search.json and also updating the password in config_landsat.cfg it does download now, not sure which of these two solved it. Or maybe it took some time for the password to get updated.

daviddemeij commented 4 years ago

Before it showed me "Authorization: Bearer " without any token and now it does show a token, so somehow the token is not retrieved previously.