Weather app - fails first click, but works second click

New to Nextcloud, but I have most of it up and running well.
I added the “Weather” app, and I have one error…of sorts…:

When I click on the ‘Weather’ icon on the Nextcloud home page, the FIRST click always fails with a black screen and error message:
{{ cityLoadError }}
[Click here to get an API key]
However, I do have the API key installed, and if I simply click on the ‘Weather’ icon a SECOND time, it works just fine – nothing changed in between clicks. The first attempt also shows errors on the left pane, as if no city has been added. But the second click uses the city that I had previously defined for the user.

Any ideas why this fails on first click but succeeds on the second click?