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

Confusing error message in case of wrong time parameter in contributions extraction endpoints #208

Closed
bonaparten opened this issue Jun 23, 2021 · 0 comments · Fixed by #211
Assignees
Labels
bug Something isn't working priority:low Should be quite a far way down on the agenda
Milestone

Comments

@bonaparten
Copy link
Contributor

Bug Description

The Contributions Extraction endpoint returns the following message if a wrong time parameter is given: Wrong time parameter. You need to give exactly two ISO-8601 conform timestamps, if you want to use the full-history extraction.
This message is a little bit confusing since this is not a full-history extraction.

General Information

  • Version of the ohsome API: 1.5.0
  • API instance requested: https://api.ohsome.org/v1 and local instance with an h2 file
  • Affected endpoint(s) [Contributions Extraction]
  • Request URL
  • Used HTTP method: GET
  • Utilized tool/library for the request: cURL

Expected Behaviour

The message should not have a reference to the full-history extraction endpoint. We should delete the reference or create a specific error message for the contributions extraction endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:low Should be quite a far way down on the agenda
Projects
None yet
1 participant