Hi all, just stacked with a small problem.
This piece of code works perfect, but if I uncomment filter clause I got an “HTTP 400: Bad Request”. Same as in documentation, but error =(
params = {<br /> "event_type":"registerComplete", <br /> # "filters": [<br /> # {<br /> # "subprop_type": "event",<br /> # "subprop_key": "EmailVerified",<br /> # "subprop_op": "is",<br /> # "subprop_value": ["true"]<br /> # }<br /> # ]<br /> }<br /><br />dates = '&start=20210615&end=20210615'<br />url = SEGMENT_URI + json.dumps(params) + dates<br /><br />response = requests.get(url, auth = (api_android, secret_android))
Thanks.