UiPath GoogleMaps Activity - Get Distance and Duration: Object reference not set to an instance of an object

Hello everyone,

I would like to calculate a distance using the Google Maps activity. But unfortunately I always get the following error message:
Get Distance and Duration: Object reference not set to an instance of an object.

Can you please help me how to get rid of this.
Thanks a lot!