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

TTC endpoint balks on invalid service_code #293

Open
cgansen opened this issue Sep 14, 2013 · 0 comments
Open

TTC endpoint balks on invalid service_code #293

cgansen opened this issue Sep 14, 2013 · 0 comments
Assignees

Comments

@cgansen
Copy link
Contributor

cgansen commented Sep 14, 2013

http://localhost:5000/requests/time_to_close.json?end_date=2013-06-19&count=7&service_code=asdfasdf

2013/09/14 15:38:48 [cwfy ] [::1]:61512 localhost:5000/requests/time_to_close.json?end_date=2013-06-19&count=7&service_code=asdfasdf map[end_date:[2013-06-19] count:[7] service_code:[asdfasdf]]
2013/09/14 15:38:48 backend error: sql: Scan error on column index 0: converting string "<nil>" to a float64: strconv.ParseFloat: parsing "<nil>": invalid syntax
2013/09/14 15:38:48 [500] api error: backend error, retry your request later.
2013/09/14 15:38:48 [cwfy ] [::1]:61512 localhost:5000/requests/time_to_close.json?end_date=2013-06-19&count=7&service_code=asdfasdf completed in 3.180991ms
@ghost ghost assigned cgansen Sep 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant