unity-sds / unity-data-services

Apache License 2.0
0 stars 3 forks source link

[Bug]: stage-in fails when trying to create new EDL token #392

Closed ngachung closed 2 months ago

ngachung commented 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.