oci-typescript-sdk icon indicating copy to clipboard operation
oci-typescript-sdk copied to clipboard

Queue endpoint is not configured properly

Open amirzahavi opened this issue 5 months ago • 1 comments

In oci-queue the template for the endpoint service is not configured properly.

Request cannot be retried. Not Retrying. Exception occurred : Error: Please use endpoint https://cell-1.queue.messaging.<region>.oci.oraclecloud.com

The issue seems to be here: https://github.com/oracle/oci-typescript-sdk/blob/c2ae9b364b590ab98b50a497ce3e63c788e525f5/lib/queue/lib/client.ts#L36

There is also bugs in other language SDKs:

  • https://github.com/oracle/oci-java-sdk/issues/666
  • https://github.com/oracle/oci-go-sdk/issues/467

amirzahavi avatar Aug 06 '25 15:08 amirzahavi

@amirzahavi Use below function to initialize service endpoint: queue_client = oci.queue.QueueClient(config)

queue_client.init(config, service_endpoint="https://cell-1.queue.messaging.{region}.oci.oraclecloud.com")

shoebria avatar Sep 06 '25 00:09 shoebria