Adviser tests are failing in stage because of `count` query parameter still present
mayaCostantini opened this issue · 1 comments
mayaCostantini commented
Describe the bug
The count
parameter seems to be still present when querying the adviser endpoint in stage. We removed count
and limit
from the OpenAPI specification: thoth-station/user-api#1727. We should remove this parameter as well as limit
from the query.
To Reproduce
See the latest integration tests report for the stage environment.
Additional context
Error log:
thamos.swagger_client.rest.ApiException: (400)
Reason: BAD REQUEST
HTTP response headers: HTTPHeaderDict({'server': 'gunicorn', 'date': 'Mon, 04 Apr 2022 00:02:55 GMT', 'content-type': 'application/problem+json', 'content-length': '120', 'access-control-allow-origin': '*', 'x-thoth-version': '0.35.0', 'x-user-api-service-version': '0.35.0+messaging.0.16.0.storages.0.71.1.common.0.36.0.python.0.16.9', 'x-thoth-search-ui-url': 'https://thoth-station.ninja/search/', 'set-cookie': '694c408f5a01f44faf6d9d4ad450ae31=26762f853b88eeea4074c2405703c3c0; path=/; HttpOnly; Secure; SameSite=None'})
HTTP response body: b'{\n "detail": "Extra query parameter(s) count not in spec",\n "status": 400,\n "title": null,\n "type": "about:blank"\n}\n'
mayaCostantini commented
/kind bug
/priority critical-urgent