opencivicdata / docs.opencivicdata.org

Open Civic Data project documentation
https://open-civic-data.readthedocs.io
44 stars 33 forks source link

Server returning 500 error as text #9

Closed jasonab closed 10 years ago

jasonab commented 10 years ago

The /people endpoint is returning a 500 error this morning, but it appears the HTTP status code is 200, while the text says "

Server Error (500)

".

All errors should be returned as an HTTP status code so clients will act correctly.

jamesturk commented 10 years ago

Can you provide the request that you're getting this error on?

On Wed, Dec 11, 2013 at 2:17 PM, Jason Bennett notifications@github.comwrote:

The /people endpoint is returning a 500 error this morning, but it appears the HTTP status code is 200, while the text says " Server Error (500)".

All errors should be returned as an HTTP status code so clients will act correctly.

— Reply to this email directly or view it on GitHubhttps://github.com/opencivicdata/docs.opencivicdata.org/issues/9 .

jasonab commented 10 years ago

Sorry, this is a dupe of https://github.com/opencivicdata/api.opencivicdata.org/issues/5

jasonab commented 10 years ago

Also, I was wrong about the status code - bug on my end.