Skip to content

Data download fails w/ 403 Forbidden #49

Description

@Langbridge

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions