I am trying to interact with a Dialogflow CX agent using the RPC DetectIntent method but I am getting the error "Please switch to 'us-east1-dialogflow.googleapis.com' to access resources located in 'us-east1'".
My agent is located in 'us-east1'. The session path I am providing to the API is in the following format: "projects/myproject/locations/us-east1/agents/my-agent-id/sessions/mysessionid
My imports are:
cx "cloud.google.com/go/dialogflow/cx/apiv3"
cxpb "goolge.golang.org/genproto/goolgeapis/cloud/dialogflow/cx/v3"
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?