-
Notifications
You must be signed in to change notification settings - Fork 10
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
If the client send a wrong scenario, error message should state it so #295
Comments
greenscientist
added a commit
to greenscientist/trRouting
that referenced
this issue
Jun 12, 2024
Currently, if we send a scenario id but that ID is not in the available cache data, we return the error MISSING_SCENARIO, which is missleading. We add a new error code INVALID_SCENARIO, that will be returned if the scenario_id is not a valid uuid, or it's not present in our data source Fixes: chairemobilite#295
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, if we send a wrong scenario ID, we get a MISSING_PARAM_SCENARIO,
{'status': 'query_error', 'errorCode': 'MISSING_PARAM_SCENARIO'}
Instead of a message stating that the scenario was there but wrong.
The text was updated successfully, but these errors were encountered: