Problem accessing subscription data

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
jeffg
Posts: 12
Joined: Sat Oct 14, 2006 9:37 am America/New_York
Answers: 0

Problem accessing subscription data

by jeffg » Thu Jun 27, 2019 2:08 pm America/New_York

Hi,

Since yesterday our scripts are failing to connect when we try to use the file_search.cgi  function to get a list of files in our subscription.  We get back ERROR 403: Forbidden.

(Here is an example of the wget command from the script)
wget --no-check-certificate --post-data="subID=244&results_as_file=1" -O - https://oceandata.sci.gsfc.nasa.gov/search/file_search.cgi>c:\seadas\aqua\subfiles.tmp

I can access the subscriptions on the website.

Thanks for your help!

Jeff

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

Problem accessing subscription data

by OB.DAAC - amscott » Thu Jun 27, 2019 2:17 pm America/New_York

You had an old URL to the file_search utility.

Use wget --no-check-certificate --post-data="subID=244&results_as_file=1" -O - https://oceandata.sci.gsfc.nasa.gov/api/file_search  > c:\seadas\aqua\subfiles.tmp

jeffg
Posts: 12
Joined: Sat Oct 14, 2006 9:37 am America/New_York
Answers: 0

Problem accessing subscription data

by jeffg » Thu Jun 27, 2019 3:41 pm America/New_York

Thank you!  That fixed it.

Post Reply