Closed davidgamez closed 3 months ago
The search endpoint returns HTTP 500 Internal error when search_query is empty and no additional parameter is passed
curl --location 'https://api-qa.mobilitydatabase.org//v1/search?search_query=' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer REPLACE_ME_WITH_ACCESS_TOKEN'
Returns all the feeds.
HTTP 500 error is returned.
No response
To note: This is only happens in postman, not doable in UI
Describe the bug
The search endpoint returns HTTP 500 Internal error when search_query is empty and no additional parameter is passed
Steps/Code to Reproduce
Expected Results
Returns all the feeds.
Actual Results
HTTP 500 error is returned.
Screenshots
No response
Files used
No response
Additional notes
No response