Forum Discussion
marimba
6 years agoRegular Visitor
Timeout Google Maps API
Hello community, I'm using the Google Maps Distance Matrix API to calculate the distance between two locations. I created a funcion for the API in the Query editor (following a Curbal tutorial), ...
v-joesh-msft
6 years agoSolution Sage
Hi marimba ,
You can try the following methods:
1. Add a "timeout" parameter:
Go to query editor -right click your web data source - Advanced Editor. This will give you access to M code behind it. You need to specify "timeout" interval in there manually.
>>[timeout=#duration(0,0,30,0)]))
This is a TimeSpan like parameter, with the values representing Days, Hours, Minutes, Seconds.
2. Add a "max-results" parameter if possible
In addition, I will try to find someone who is familiar with this to take a further look at this. I will post back if we have any conclusions on this topic.
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.