Page 1 of 1

Earth Data Login - R Studio Issue

Posted: Tue Jul 04, 2023 3:09 pm America/New_York
by kelseyfreitag
Hi,

I have been attempting to follow the code from https://cornelllabofornithology.github.io/ebird-best-practices/covariates.html to download MODIS data in R Studio. I have used 'MODIS::EarthdataLogin(usr = "my user", pwd = "my pass"). When I attempt to run the code to download the data, I get the same error ' Earthdata Login credentials could not be verified.'

Any ideas on what could be causing this? It is the correct user and password as it works when I run different code.

Thanks!

Re: Earth Data Login - R Studio Issue

Posted: Thu Jul 06, 2023 8:50 am America/New_York
by LP DAAC-EDL - dgolon
Hi @kelseyfreitag Thank you for reporting that. We'll take a look to see if we can figure out what is going on. We'll report back when we have more information. Thanks - Danielle

Re: Earth Data Login - R Studio Issue

Posted: Thu Jul 06, 2023 11:26 am America/New_York
by kaewal01
Hello @kelseyfreitag ,
Thank you for reporting this issue. I'd encourage you to submit an Earthdata Search user issue message using the "feedback" button on the upper right-hand corner of the Earthdata Search homepage (https://search.earthdata.nasa.gov/search). This will make it easier to track the issue. In your message, please include the following elements:

-link to issue page (if available)
-screenshot of issue
-Earthdata Search username

Re: Earth Data Login - R Studio Issue

Posted: Tue Mar 26, 2024 10:54 pm America/New_York
by teejay21111
I'm having the same problem. Tried two laptops but no luck.

Re: Earth Data Login - R Studio Issue

Posted: Mon May 06, 2024 7:27 am America/New_York
by calvus17
I have the same issue, the authentication fails with valid username and password.

Re: Earth Data Login - R Studio Issue

Posted: Mon May 06, 2024 9:25 am America/New_York
by LP DAAC-EDL - dgolon
@calvus17 and @teejay21111 If you haven't already done so, please make sure you follow @Earthdata Search - kaewal01's advice above and submit the issue to the Earthdata Search team using the "feedback" button on Earthdata Search (https://search.earthdata.nasa.gov/search), located on the top right of the page, so their team can keep track of the issues users are seeing to help them learn more to resolve the issue.

Re: Earth Data Login - R Studio Issue

Posted: Sat May 11, 2024 4:54 pm America/New_York
by pasi.autio
Similar issue here too.

Re: Earth Data Login - R Studio Issue

Posted: Sun May 12, 2024 3:12 pm America/New_York
by pasi.autio
As a related issue, the R package used within the original post (httr) and also the same package used in your R authentication example code is now obsolete and replaced with new httr2 R package.

I'm requesting a sample code update how to access the data with R, but with HTTR2-package instead of HTTR.

Old sample code:
https://wiki.earthdata.nasa.gov/display/EL/How+to+access+data+with+R