Connection to Oracle Cloud Infrastructure (OCI) via REST API using the HTTP Requester is failing with a 403 Forbidden error. The authentication method being used is AWS Signature.
Details:
Source: MuleSoft (HTTP Requester connector)
Destination: Oracle Cloud Infrastructure (OCI) endpoint
Authentication Method: AWS Signature (likely Signature Version 4)
Error Code: HTTP 403 – Forbidden (SignatureDoesNotMatch)
ERROR :
<?xml version="1.0" encoding="UTF-8"?><Error><Message>The required information to complete authentication was not provided.</Message><Code>SignatureDoesNotMatch</Code></Error>
ERROR 2025-07-23 09:14:13,352 [[MuleRuntime].uber.14: DefaultMessageProcessorChain '(chain) of 'testhttpsalesFlow' processor chain'
[
testhttpsalesFlow/processors/0
].switchOnErrorScheduler @60de1a86] [processor: testhttpsalesFlow/processors/0; event: b0be0c81-67d7-11f0-994a-e628a323fcd2] org.mule.runtime.core.privileged.exception.DefaultExceptionListener:
********************************************************************************
Message : HTTP GET on resource 'https://<host>:<port>/ocid1.tenancy.oc2../list-type=2&prefix=Reports/2025/07/11' failed: forbidden (403).
Element : testhttpsalesFlow/processors/0 @ testhttpsales:testhttpsales.xml:20 (Request)
Element DSL : <http:request method="GET" doc:name="Request" doc:id="8b197e35-f9d8-4278-aece-af89a20299e5" config-ref="HTTP_Request_configuration" path="/ocid1.tenancy.oc2../list-type=2&prefix=Reports/2025/07/11">
<http:headers><![CDATA[#[output application/java
---
{
"Accept": "application/xml",
"Host": "<host>",
"X-Amz-Content-Sha256": "<X-Amz-Content-Sha256>",
"X-Amz-Date": "20250723T150541Z",
"Authorization":"AWS4-HMAC-SHA256 Credential=xxxxxxxxxxxxxxx/20250721/us-langley-1/s3/aws4_request, SignedHeaders=accept;host;x-amz-content-sha256;x-amz-date, Signature=ssssssss"
}]]]></http:headers>
</http:request>
Error type : HTTP:FORBIDDEN
FlowStack : at testhttpsalesFlow(testhttpsalesFlow/processors/0 @ testhttpsales:testhttpsales.xml:20 (Request))
The HTTP Requester connector does not support the AWS Signature authentication method. To use it, you must manually construct the signed request and include the necessary headers.
If this approach does not work reliably, a better alternative is to use the S3 Connector.
Provide the OCI URL in the Customer Service Endpoint field in the Advance tab of the S3 connector.
Configure authentication using your Access Key and Secret Key.
005104786

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.