Verify that your username and password are correct in .netrc

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
LP DAAC - dgolon
User Services
User Services
Posts: 283
Joined: Mon Sep 30, 2019 10:00 am America/New_York
Answers: 0
Has thanked: 15 times
Been thanked: 2 times
Contact:

Re: Verify that your username and password are correct in .netrc

by LP DAAC - dgolon » Tue Sep 20, 2022 8:58 am America/New_York

Hi @kasimir I believe this might be due to the 401 error. If you are seeing a 401 Error, that is a known error that we are looking into. Some of the other DAACs are also seeing this error. This error seems to be occurring when using some scripts to download the data but we are looking more into what is causing it and if it is only occurring when users are using a script or not. We will post once we have more information on that error. If the data are needed immediately I recommend downloading the data without a script via AppEEARS, DataPool, NASA Earthdata Search or USGS EarthExplorer.
Subscribe to the LP DAAC listserv by sending a blank email to lpdaac-join@lists.nasa.gov.

Sign up for the Landsat listserv to receive the most up to date information about Landsat data: https://public.govdelivery.com/accounts/USDOIGS/subscriber/new#tab1.

Tags:

kasimir
Posts: 7
Joined: Fri Sep 16, 2022 11:04 am America/New_York
Answers: 0

Re: Verify that your username and password are correct in .netrc

by kasimir » Tue Sep 20, 2022 9:10 am America/New_York

Thank you for the reply. I could not see any error number. It just tells me that the data could not be downloaded and that I should check my username and password. I try to batch download the data for my ROI. Downloading it manually would be difficult because we are talking about almost 1000 download links.

Hope this can be solved soon!

Best,
Kasimir

aleason
Posts: 4
Joined: Mon Jul 25, 2022 10:41 am America/New_York
Answers: 0

Re: Verify that your username and password are correct in .netrc

by aleason » Tue Sep 20, 2022 12:14 pm America/New_York

Kasimir,

I was looking into this and it looks like there has been a change to the authentication that accompanied the last update where you need to use a bearer token to download, not just username and password. The posts below gives more information, I hope that these help:

https://ladsweb.modaps.eosdis.nasa.gov/tools-and-services/data-download-scripts/
https://gis.stackexchange.com/questions/390289/gedi-lp-daac-appeears-api-login-token-via-python
https://lpdaac.usgs.gov/resources/e-learning/getting-started-with-the-a%CF%81%CF%81eears-api-submitting-and-downloading-an-area-request/

Andrew.

kasimir
Posts: 7
Joined: Fri Sep 16, 2022 11:04 am America/New_York
Answers: 0

Re: Verify that your username and password are correct in .netrc

by kasimir » Wed Sep 21, 2022 3:11 am America/New_York

Dear Andrew,

I will check it out and let you know if that will solve the problem. Thank you for your efforts!

Best,
Kasimir

Post Reply