withings-sync: Garmin login no longer working

I have withings-sync running for a few weeks now without problems (Cronjob running daily). But since December 22nd, it no longer works, I get this message:

2021-12-30 22:55:27,695 - garmin - ERROR - 'NoneType' object has no attribute 'group'
2021-12-30 22:55:27,696 - garmin - ERROR - Unable to retrieve Garmin username! Most likely: incorrect Garmin login or password!

My credentials have not changed.

Note that the data upload still works, it seems to be only this message.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

The initial error of this issue is solved together with the 403 error in the same Pull Request

For me the changes from @stynoo only partially work. I need to get the data out of “VIEWER_SOCIAL_PROFILE” and not “VIEWER_USERPREFERENCES”. I integrated all of this in my fork, and the username is printed again now. I will create another pull request shortly.

It’s not really a breaking issue: Garmin changed the string layout for the VIEWER_ variables on Garmin Connect and the regex can no longer convert them to readable json entries. This json data is only used to extract and display the Garmin username. Try stynoo@e5b9f19 and see if this fixes it. If this runs okay I’ll create a PR.

Coming back to the initial reason of this ticket, stynoo@e5b9f19 seems to work for me. I’d support a pull-request. Thank you!!

And just asking, no offence: Do you mind creating an extra ticket for the rate-limiting-issue of @cristian5th, as this is not directly related to @MartinEmrich nontype-error-issue of this ticket? Or is it just fine to mix two subjects in one ticket?