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

Server error 500 getting sensor data #9

Open
davidherbert2 opened this issue Mar 15, 2021 · 4 comments
Open

Server error 500 getting sensor data #9

davidherbert2 opened this issue Mar 15, 2021 · 4 comments

Comments

@davidherbert2
Copy link

http://uoweb3.ncl.ac.uk/api/v1.1/sensors/json?theme=Vehicles&sensor_type=Car%20Count currently returns:

<h1>Server Error (500)</h1>

http://uoweb3.ncl.ac.uk/api/v1.1/sensors/json?theme=Air%20Quality&sensor_type=NO2 returns the expected JSON. The former was working correctly on Friday 12th March. Not sure what has changed, but would appreciate if you could take a look at this a.s.a.p as it is holding me up somewhat.

@geoanorak
Copy link

David, Car Count is variable so
http://uoweb3.ncl.ac.uk/api/v1.1/sensors/json/?theme=Vehicles&Variable=Car%20Count Works fine

@davidherbert2
Copy link
Author

davidherbert2 commented Mar 15, 2021 via email

@nharris172
Copy link
Member

you call should work David. Not sure why it's now returning 500. I'll have a look

@geoanorak
Copy link

Not sure of the semantic difference between sensor type and variable. I've always used variable.

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

3 participants