title: "Please switch to 'us-east1-dialogflow.googleapis.com' to access resources located in 'us-east1'" Dialogflow CX GO API V3
body: <p>I am trying to interact with a Dialogflow CX agent using the RPC DetectIntent method but I am getting the error &quot;Please switch to 'us-east1-dialogflow.googleapis.com' to access resources located in 'us-east1'&quot;.</p>
  <p>My agent is located in 'us-east1'. The session path I am providing to the API is in the following format:
  &quot;projects/myproject/locations/us-east1/agents/my-agent-id/sessions/mysessionid</p>
  <p>My imports are:</p>
  <p>cx &quot;cloud.google.com/go/dialogflow/cx/apiv3&quot;</p>
  <p>cxpb &quot;goolge.golang.org/genproto/goolgeapis/cloud/dialogflow/cx/v3&quot;</p>
  <p>I have this working in Python using a similar session path, I don't understand what the GO API wants. Can anyone tell me what this error means?</p>