First time I've come across anyone experiencing this. I'll assume you are calling the REST services directly with HTTPClient or something similar. A couple of things to check:
- First, make sure you are escaping your the address you are passing into the query parameter. Special characters can cause issues in URLs. Here is how you do that in C#
Uri.EscapeDataString(query)
- I'm assuming you aren't making calls from within China or South Korea as is not available in those regions and trying to connect to Azure Maps from within one of those networks would fail.
- Likely unrelated, but something to consider doing now while you are working with the code is to use the latest version of the search API. The endpoint you are referencing is v1 and there is a newer, more powerful search geocoding service available. https://learn.microsoft.com/en-us/rest/api/maps/search/get-geocoding?view=rest-maps-2025-01-01&tabs=HTTP
- The search services usually respond within 300ms depending on your internet connection. If it is taking a lot longer than that (several seconds) then there is a networking issue such as a firewall that is causing issues.
Beyond the above, we will need more information on how you are calling the services and a couple of example queries (excluding your subscription key of course).
I know you said you weren't making multiple calls a second, but if you have a lot of addresses to geocode as part of a batch like process (e.g. geocoding a file or database of addresses), consider using the batch geocoding service: https://learn.microsoft.com/en-us/rest/api/maps/search/get-geocoding-batch?view=rest-maps-2025-01-01&tabs=HTTP