Hi,
I’m getting a validation error on the “include_totals” parameter on the /api/v2/users endpoint. This is using the python requests module, I don’t imagine there would be any weird typing issues happening with that module.
I have also tried running as a curl command and it doesn’t return an error response but seems to be ignoring the include_totals field: https://tenant.auth0.com/api/v2/users?page=0&per_page=100&include_totals=true&search_engine=v3
Request:
requests.get(‘https://tenant.auth0.com/api/v2/users’, headers=auth_ext_api_headers, params={‘search_engine’: ‘v3’, ‘page’: 1, ‘per_page’: 100, ‘include_totals’: True})
Response:
{‘statusCode’: 400, ‘error’: ‘Bad Request’, ‘message’: “Query validation error: ‘Expected type boolean but found type string’ on property include_totals (Return results inside an object that contains the total result count (true) or as a direct array of results (false, default)).”, ‘errorCode’: ‘invalid_query_string’}