New token failing

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
i2wdlux
Posts: 1
Joined: Wed Apr 21, 2021 9:04 am America/New_York
Answers: 0

New token failing

by i2wdlux » Wed Apr 21, 2021 9:33 am America/New_York

Hello,

I generated a new token this morning and plugged it into the sample download script but am getting 401 errors. It is currently the only token associated this this account, and this account has previously downloaded this data with tokens, so all of the appropriate EULAs have been accepted (unless something has changed recently). Any ideas?


machine]$ wget -e robots=off -m -np -R .html,.tmp -nH --cut-dirs=4 "https://nrt4.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/noaa-20-viirs-c2/Global" --header "Authorization: Bearer <my token was here>" -P .
--2021-04-21 08:51:02-- https://nrt4.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/noaa-20-viirs-c2/Global
Resolving nrt4.modaps.eosdis.nasa.gov (nrt4.modaps.eosdis.nasa.gov)... 198.118.194.202, 2001:4d0:241a:40c4::202
Connecting to nrt4.modaps.eosdis.nasa.gov (nrt4.modaps.eosdis.nasa.gov)|198.118.194.202|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 107247 (105K) [text/html]
Saving to: ‘./FIRMS/noaa-20-viirs-c2/Global’

100%[=======================================================================================================================================>] 107,247 --.-K/s in 0.03s

Last-modified header missing -- time-stamps turned off.
2021-04-21 08:51:03 (3.03 MB/s) - ‘./FIRMS/noaa-20-viirs-c2/Global’ saved [107247/107247]

--2021-04-21 08:51:03-- https://nrt4.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/noaa-20-viirs-c2/
Reusing existing connection to nrt4.modaps.eosdis.nasa.gov:443.
HTTP request sent, awaiting response... 200 OK
Length: 2040 (2.0K) [text/html]
Saving to: ‘./FIRMS/noaa-20-viirs-c2/index.html’

100%[=======================================================================================================================================>] 2,040 --.-K/s in 0s

Last-modified header missing -- time-stamps turned off.
2021-04-21 08:51:03 (271 MB/s) - ‘./FIRMS/noaa-20-viirs-c2/index.html’ saved [2040/2040]

Removing ./FIRMS/noaa-20-viirs-c2/index.html since it should be rejected.

--2021-04-21 08:51:03-- https://nrt4.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/noaa-20-viirs-c2/Global/J1_VIIRS_C2_Global_VJ114IMGTDL_NRT_2019338.txt
Reusing existing connection to nrt4.modaps.eosdis.nasa.gov:443.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.
--2021-04-21 08:51:03-- https://nrt4.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/noaa-20-viirs-c2/Global/J1_VIIRS_C2_Global_VJ114IMGTDL_NRT_2019339.txt
Reusing existing connection to nrt4.modaps.eosdis.nasa.gov:443.
HTTP request sent, awaiting response... 401 Unauthorized
...
<more 401s follow>

Tags:

OB.DAAC - amscott
User Services
User Services
Posts: 350
Joined: Mon Jun 22, 2020 5:24 pm America/New_York
Answers: 1
Has thanked: 8 times
Been thanked: 3 times

Re: New token failing

by OB.DAAC - amscott » Fri Apr 23, 2021 11:11 am America/New_York

If you are talking about an Earthdata token, email support@earthdata.nasa.gov

Post Reply