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

TRI CORS/404 error #514

Closed
jywarren opened this issue Mar 9, 2021 · 2 comments
Closed

TRI CORS/404 error #514

jywarren opened this issue Mar 9, 2021 · 2 comments

Comments

@jywarren
Copy link
Member

jywarren commented Mar 9, 2021

I'm now seeing this on https://publiclab.org/unearthing-pvd:

Access to XMLHttpRequest at 'https://iaspub.epa.gov/enviro/efservice/tri_facility/pref_latitude/BEGINNING/41/PREF_LONGITUDE/BEGINNING/71/rows/0:300/JSON?_=1615315565558' from origin 'https://publiclab.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I believe that's actually a 404 error not CORS: the URL directly gives: The requested URL /enviro/efservice/tri_facility/pref_latitude/BEGINNING/41/PREF_LONGITUDE/BEGINNING/71/rows/0:300/JSON was not found.

https://iaspub.epa.gov/enviro/efservice/tri_facility/pref_latitude/BEGINNING/41/PREF_LONGITUDE/BEGINNING/71/rows/0:300/JSON?_=1615315565558

@jywarren
Copy link
Member Author

jywarren commented Mar 9, 2021

I guess we can assume this EPA TRI API is just offline now. There must be a new or better way to access it. Related:

#46 #393 #43

@jywarren
Copy link
Member Author

jywarren commented Mar 9, 2021

Merge into #393

@jywarren jywarren closed this as completed Mar 9, 2021
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

1 participant