Garmin Connect gives Unexpected Error when trying to add

Errors from the log:

2021-06-08 16:45:48 ERROR (MainThread) [homeassistant.components.garmin_connect.config_flow] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/garmin_connect/", line 49, in async_step_user
    username = await garmin_client.login()
  File "/usr/local/lib/python3.8/site-packages/garminconnect_aio/", line 91, in login
AttributeError: 'mappingproxy' object has no attribute 'update'

Any hints on how to fix this?

Update home assistant

Lo and behold. It worked.