You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// SetRegion overrides the region of this client.
func (client *QueueClient) SetRegion(region string) {
client.Host = common.StringToRegion(region).EndpointForTemplate("queue", "https://messaging.{region}.oci.{secondLevelDomain}")
}
Hello, I'm using the GO SDK for queue services, but I encountered an error when using it:
Message Error: Please use endpoint https://cell-1.queue.messaging.sa-vinhedo-1.oci.oraclecloud.com\nOperation Name: GetMessages\nTimestamp: 2023-11-10 18:40:57.086135167 -0300 - 03 m=+140.026919796\nClient Version: Oracle-GoSDK/65.49.1\nRequest Endpoint: GET
When I looked at queue/queue_client.go I saw that the endpoint is like:
https://messaging.{region}.oci.{secondLevelDomain}
in queue/queue_client.go line 68
when changing to
https://cell-1.oracle.queue.{region}.oci.{secondLevelDomain}
the error disappears. Can you help me?
My function:
`
req := queue.GetMessagesRequest{
The text was updated successfully, but these errors were encountered: