olivierhagolle / theia_download

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

'ErrorCode': 403, u'ErrorMessage': u'User profile has not been validated. Please contact an administrator' #20

Closed EmilienAlvarez closed 3 years ago

EmilienAlvarez commented 3 years ago

Hi, I'm trying to download several Sentinel-2 data tiles on an Ubuntu 18.04 system with the following command line :

python2 ./theia_download.py -t T30UXU -c SENTINEL2 --level LEVEL2A -a config_theia.cfg -d 2017-01-01 -f 2017-09-20 -w /mnt/data/imagery/sentinel-2/download_Theia/new/

Some tiles are downloaded properly, then the process stops with the following error message :

Result is a text file {u'ErrorCode': 403, u'ErrorMessage': u'User profile has not been validated. Please contact an administrator'}

Any suggestions about this error ?

Thanks,

Emilien Alvarez-Vanhard

olivierhagolle commented 3 years ago

Yes, there is a token which expires after some time (2 to 3 hours or so). So if you make a lot of downloads, it is better to split them in different command lines with a reduced number of products. This token was imposed by the security :( Olivier

EmilienAlvarez commented 3 years ago

Ok, i see. Thanks a lot :)

Emilien