Keep a transient EDGAR 503 from failing the SEC daily run - #17
Merged
AlexCatarino merged 2 commits intoSep 25, 2026
Merged
Conversation
… download EDGAR briefly served a 503 for one CIK's index.json. Non-rate-limit errors were retried without a pause, then thrown, so the CIK-ticker mappings were never downloaded and the converter failed for every filing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ticker.txt answers 503 about half the time. Its download ran after the daily loop, so any failure there skipped it, and a 503 was retried at once and then dropped silently, leaving the converter without the file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 2026-09-24 daily run failed after EDGAR briefly answered 503 for one CIK's
index.json(it served 200 moments later). Errors other than 403/429 were retried with no pause, so all five attempts landed inside the outage, and the final throw ended the download beforecik-ticker-mappings.txtwas fetched, so the converter failed on every filing.ticker.txtitself answers 503 on about half the requests right now, and those were retried at once and then ignored.🤖 Generated with Claude Code