Page 1 of 1
Automated downloads using Application Keys failing since 06/01?
Posted: Wed Jun 09, 2021 9:16 am America/New_York
The DRL regularly retrieves files from EarthData applications via automated scripts in order to meet both our needs and the needs of our user community. However, since the 1st of June, our scripts that use "Authorization: Bearer <application key>" are no longer working, and are failing with "ERROR 500: Internal Server Error" errors. Any ideas why these failures are occurring or what may be done to resolve them? Here's some examples of failed commands using wget:
Code: Select all
wget -nd -nv --header="Authorization: Bearer <application key>" https://omisips1.omisips.eosdis.nasa.gov/outgoing/OMPS/LP-DRK/ -O -
2021-06-04 16:29:16 ERROR 500: Internal Server Error.
Code: Select all
wget -nd -nv --header="Authorization: Bearer <application key>" https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/61/MYDCSR_B/2021/149/MYDCSR_B.A2021149.061.2021159062223.hdf
2021-06-09 15:12:08 ERROR 500: Internal Server Error.
These two examples use different application keys, so this isn't simply a case of a single key no longer working.
Benjamin McCabe / DRL Computer Scientist
Re: Automated downloads using Application Keys failing since 06/01?
Posted: Mon Jun 14, 2021 11:11 am America/New_York
Hi. I'm actually with the OB-DAAC, but i wonder if this is your problem.
Dear LANCE-MODIS Users:
Starting 6/1/2021 we will be expiring all app keys in favor of using tokens. If you authenticate via the “Authorization: Bearer <app key>” HTTPS header and the app key you provide is formatted as XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX then the app key will stop working starting 6/1/2021. To prevent disruption in your access to data please generate a new token. You can find instructions to generate a new token at https://ladsweb.modaps.eosdis.nasa.gov/ ... ts/#tokens
lance-modis Users Support