DNS resolution fails calling a Google service

IBM RPA Studio throws the DNS resolution failed for service: {service}.googleapis.com:443 error message when using Google services.

Symptoms

You get the following error when using services from Google APIs:

DNS resolution failed for service: {service}.googleapis.com:443

Resolving this issue

Create a new environment variable called GRPC_DNS_RESOLVER and set its value to native.

Procedure

  1. In the Windows Start menu search for Edit the system environment variables.
  2. Click Environment Variables....
  3. In the System Variables section, click New....
  4. Enter the variable name GRPC_DNS_RESOLVER.
  5. In the Variable value field, type native and click OK.