Loading

The OCI–MuleSoft integration is failing with a 403 Forbidden error when using the AWS Signature authentication through the HTTP Requester connector.

Fecha de publicación: Jul 23, 2025
Descripción

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))

Solución

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.

Número del artículo de conocimiento

005104786

 
Cargando
Salesforce Help | Article