Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

The endpoint api.propublica.org/congress/v1/ falsely returns a 403 #228

Open
danigrant opened this issue Jul 17, 2019 · 1 comment
Open

Comments

@danigrant
Copy link

When you get started with the API, you try to check that you can make requests against the endpoint. However, when you make a request against the endpoint https://api.propublica.org/congress/v1/ you get back 403: Missing Authentication Token. This is extremely confusing and misleading because that's actually not true. Instead it would be great if it could return a 404 because there is nothing at that endpoint or just a 200 {}.

@dwillis
Copy link
Contributor

dwillis commented Jul 17, 2019

@danigrant Thanks very much. It seems like the language that prefaces that section isn't clear enough when it says that "All requests begin with: https://api.propublica.org/congress/v1/". Because https://api.propublica.org/congress/v1/ isn't a valid request, it's not an actual endpoint to be tried. Am open to suggestions on ways to clarify this.

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

No branches or pull requests

2 participants