Harvest source change: dod-json - DoD source can't be extracted

Open
#6,557 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start by checking the dod-json harvest source and its job history, then test whether https://www.defense.gov/data.json is reachable by the harvester. Confirm whether the 403 requires DoD to allow access or an alternate URL, and rerun the harvest once the file is reachable. Done means a successful initial harvest or the source is cleared and archived, with errors and follow-up actions documented.

Written by the indexing model from the issue text.

Description

Harvester

Private or internal request details should not be included in this public issue.

Description & Requested Outcome

We need to create or update a Metadata Harvest Source in the harvesting system under the appropriate parent organization once all required prerequisites are met.

This request may be related to information collected through an internal intake process. Do not include private survey responses, internal-only details, or non-public links in this public issue.
Touchpoints form location:

Problem: Every harvest fails with failed to extract harvest source. The latest job (Nov 25) errored with 0 records. defense.gov returns 403 to non-browser requests, and the Data.gov validator also can't retrieve the file, so the site may be blocking the harvester. There's no successful harvest in the source's job history.

Found while checking prod DCAT-US 1.1 sources for files that had switched to 3.0.

Parent organization

Organization: Department of Defense

Harvest Organization URL: https://harvest.data.gov/organization/dod

Harvest source details

Source name: dod-json

Harvest source: https://harvest.data.gov/harvest_source/b6baac1e-7a69-4517-b311-7ec403b7f5b2

Source URL: https://www.defense.gov/data.json

Frequency: monthly

Metadata format/profile:

  • DCAT-US 1.1 (as configured)
  • DCAT-US 3
  • ISO
  • CSW
  • Other: [Specify]
  • To be confirmed

Tasks

  • Confirm (test) the source URL link.
  • Confirm whether defense.gov is blocking the harvester (403) and ask DoD to allow it, or get an alternate URL
  • Rerun the harvest once the file is reachable
  • Send confirmation to agency POC
  • Note any troubleshooting items in comments below

Final Acceptance criteria

  • The source either uses a working, confirmed source URL with an initial harvest completed, or has been cleared and archived.
  • Any harvest errors or validation issues have been reviewed and documented.
  • Follow-up actions, if any, have been captured in this issue or linked issues.
Dominant language
Python
Stars
1.2k
Forks
207
Avg merge
3d 16h
Merged PRs (30d)
5

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GSA/data.gov

All issues in GSA/data.gov

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.