Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data download fails w/ 403 Forbidden #49

Open
Langbridge opened this issue Feb 4, 2025 · 1 comment
Open

Data download fails w/ 403 Forbidden #49

Langbridge opened this issue Feb 4, 2025 · 1 comment

Comments

@Langbridge
Copy link

When trying to run the basic quick start code in a new environment, the code fails with the following error:

Downloading data for 2018 1-Year person survey for CA...

data/2018/1-Year/csv_pca.zip may be corrupted. Please try deleting it and rerunning this command.

Exception:  File is not a zip file

On inspection, the .zip file contains a 403 forbidden message from the ACS endpoint (https://www2.census.gov/programs-surveys/acs/data/pums/2018/1-Year)

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access this resource.</p>
<p>Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>

It looks like Census.gov have restricted access to the data?

@samgalen
Copy link

samgalen commented Feb 4, 2025

I encountered this problem as well. I have created a branch that uses the webarchive backup of the website to try and address this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants