Skip to content

Internal Server Error (500 status code) with message "Angle [...] is too high" #269

@apibugsreporting

Description

@apibugsreporting

Bug Description

I found several requests obtaining 500 status codes with the error message "Angle XXX is too high"

General Information

Please include the following general information about the issue and list any additional steps needed to reproduce the bug.

  • Version of the ohsome API [e.g. 1.5.0]
    • 1.6.1
  • Which API instance was requested [e.g. remote instance at https://api.ohsome.org/v1, local instance with an h2 file or connected to the cluster, etc.]
    • Remote instance at https://api.ohsome.org/v1
  • Affected endpoint(s) [e.g. /contributions/count]
    • All (or many) endpoints seem to be affected
  • URL of your request (and request body if applicable)
    • https://api.ohsome.org/v1/elements/count/density?types=polygon%2Cother&keys=highway&format=geojson&showMetadata=no&time=2010-11-22&timeout=59&bcircles=8.718%2C49.403%2C5%7C8.707%2C49.4150%2C1%7C8.7029%2C49.434%2C40%7C8.747%2C49.434700%2C233267280
  • Used HTTP method [GET or POST]
    • Both
  • Utilized tool/library for the request [e.g. cURL, Postman, ohsome-py, etc.]

Expected Behaviour

A 500 status code (Internal Server Error) should not be returned. There is probably some uncaught exception in the code.

Further Information

Additional Information

Several test reports revealing this issue are available at the following URLs (they might take some time to load):

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions