DNS resolution failed for service: https://us-central1-dialogflow.googleapis.com

1,640 views
Skip to first unread message

Rodolfo Ruiz

unread,
Feb 11, 2022, 5:31:51 PM2/11/22
to Dialogflow CX Edition users
Hello, I'm trying to use Google.Cloud.Dialogflow.Cx.V3 library in .Net. When I try to use the method "CreateIntent", I received this error:

Status(StatusCode="InvalidArgument", Detail="Please switch to 'us-central1-dialogflow.googleapis.com' to access resources located in 'us-central1'.", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1644603797.290000000","description":"Error received from peer ipv4:142.250.72.234:443","file":"..\..\..\src\core\lib\surface\call.cc","file_line":1070,"grpc_message":"Please switch to 'us-central1-dialogflow.googleapis.com' to access resources located in 'us-central1'.","grpc_status":3}")

After this I changed the endpoint property to https://us-central1-dialogflow.googleapis.com, and now the error is:

Status(StatusCode="Unavailable", Detail="DNS resolution failed for service: https://us-central1-dialogflow.googleapis.com/v3/", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1644603734.613000000","description":"Resolver transient failure","file":"..\..\..\src\core\ext\filters\client_channel\client_channel.cc","file_line":1356,"referenced_errors":[{"created":"@1644603734.613000000","description":"DNS resolution failed for service: https://us-central1-dialogflow.googleapis.com/v3/","file":"..\..\..\src\core\ext\filters\client_channel\resolver\dns\c_ares\dns_resolver_ares.cc","file_line":360,"grpc_status":14,"referenced_errors":[{"created":"@1644603734.613000000","description":"C-ares status is not ARES_SUCCESS qtype=A name=https is_balancer=0: Domain name not found","file":"..\..\..\src\core\ext\filters\client_channel\resolver\dns\c_ares\grpc_ares_wrapper.cc","file_line":722,"referenced_errors":[{"created":"@1644603734.610000000","description":"C-ares status is not ARES_SUCCESS qtype=AAAA name=https is_balancer=0: Domain name not found","file":"..\..\..\src\core\ext\filters\client_channel\resolver\dns\c_ares\grpc_ares_wrapper.cc","file_line":722}]}]}]}")

I don't know if I'm doing something wrong or there is a problem with the API.

Monica (Google Cloud Platform)

unread,
Feb 11, 2022, 7:36:55 PM2/11/22
to Dialogflow CX Edition users
Hello,

Please reference this documentation on how to specify a region with the API. Also address the REST API documentation for webhooks endpoints and the .Net reference code. 
For the specific error, please address the StackOverflow community for help. 
Reply all
Reply to author
Forward
0 new messages