gabrielreid / polar-flow-export

Command line tool for bulk exporting TCX files from Polar Flow
Apache License 2.0
44 stars 24 forks source link

"Exception: HTTP Error 400: Bad Request" at login #3

Closed hgcvm closed 6 years ago

hgcvm commented 6 years ago

I'm getting this error when trying the script:

INFO:PolarFlowExporter:Logging in user usernam@email.com ERROR:PolarFlowExporter:Error fetching https://flow.polar.com/login: HTTP Error 400: Bad Request Traceback (most recent call last): File "polarflowexport.py", line 158, in for tcx_file in exporter.get_tcx_files(from_date_str, to_date_str): File "polarflowexport.py", line 114, in get_tcx_files self._login() File "polarflowexport.py", line 101, in _login email=self._username, password=self._password)) File "polarflowexport.py", line 92, in _execute_request raise Exception(e) Exception: HTTP Error 400: Bad Request`

hgcvm commented 6 years ago

I found the reason why. I had a "$" in my password.