mgmonteleone / python-atlasapi

python package for MongoDB Atlas Cloud provider
Apache License 2.0
21 stars 22 forks source link

Regression: Error_Handler: CRITICAL: {'detail': 'The required query parameter granularity was not specified.', 'error': 400, 'errorCode': 'MISSING_QUERY_PARAMETER', 'parameters': ['granularity'], 'reason': 'Bad Request'} #178

Closed mgmonteleone closed 1 year ago

mgmonteleone commented 1 year ago

test_12_issue_90_get_measurement_for_host and test_13_get_multiple_metrics_at_once_for_host

now fails with

Error_Handler: CRITICAL: {'detail': 'The required query parameter granularity was not specified.', 'error': 400, 'errorCode': 'MISSING_QUERY_PARAMETER', 'parameters': ['granularity'], 'reason': 'Bad Request'}

Could be related to recent changes in #176 ?

mgmonteleone commented 1 year ago

Can not reproduce now.

mgmonteleone commented 1 year ago

Reproduced, was related to #176... need to add back param handling.

Params were removed from the URI (old way of doing), this then broke other methods which did not yet send the params in the new method. Testing and fixing.

mgmonteleone commented 1 year ago

Fixed and released in v3.0.1b5