Skip to content

QueueClient - Wrong endpoint template #666

@marcieldeg

Description

@marcieldeg

oci-java-sdk-queue, version 3.59.0.

Please adjust the queue endpoint.

Class com.oracle.bmc.queue.QueueClient, line 22:

from
.serviceEndpointTemplate("https://messaging.{region}.oci.{secondLevelDomain}")
to
.serviceEndpointTemplate("https://cell-1.queue.messaging.{region}.oci.{secondLevelDomain}")

As a workaround for this issue, I am forced to set the endpoint manually, which is not desirable.

Error detalis:

Exception in thread "main" com.oracle.bmc.model.BmcException: Error returned by GetMessages operation in Queue service.(404, NotAuthorizedOrNotFound, false) Please use endpoint https://cell-1.queue.messaging.us-ashburn-1.oci.oraclecloud.com (opc-request-id: XXXX)
Timestamp: 2025-03-11T12:51:54.191Z
Client version: Oracle-JavaSDK/3.59.0
Request Endpoint: https://messaging.us-ashburn-1.oci.oraclecloud.com/20210201/queues/{queue-id}/messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    SDKIssue pertains to the SDK itself and not specific to any service

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions