Closed ngachung closed 2 months ago
Using UDS version 6.4.3 and version 7.9.0, stage-in fails to download data when forced to create a new EDL token. Stage-in runs fine on the second run when the EDL token exists.
James found the bug in this line https://github.com/unity-sds/unity-data-services/blob/e40f871915de3f009a56a2e8a9d0a6208867f044/cumulus_lambda_functions/lib/earthdata_login/urs_token.py#L64 A status code 200 is a success.
Using UDS version 6.4.3 and version 7.9.0, stage-in fails to download data when forced to create a new EDL token. Stage-in runs fine on the second run when the EDL token exists.
James found the bug in this line https://github.com/unity-sds/unity-data-services/blob/e40f871915de3f009a56a2e8a9d0a6208867f044/cumulus_lambda_functions/lib/earthdata_login/urs_token.py#L64 A status code 200 is a success.