function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ranjith DevRanjith Dev 

Salesforce to AWS s3 integration

Hi Team,

I want to Post the data from salesforce to the AWS s3 bucket.

Below error is getting from the POSTMAN tool:
--------------------------------------------------------------
Code>PreconditionFailed</Code>
    <Message>At least one of the pre-conditions you specified did not hold</Message>
    <Condition>Bucket POST must be of the enclosure-type multipart/form-data</Condition>


Send me a sample POST Rest Api or any reference inks.

Please help.!

Thank you,
Ranjith M.
VinayVinay (Salesforce Developers) 
Hi Ranjith,

Check below references that can help you.

https://www.sfdcpanther.com/integrate-salesforce-with-amazon-s3/
https://aws.amazon.com/blogs/apn/connecting-aws-and-salesforce-enables-enterprises-to-do-more-with-customer-data/
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3000000B5YzrEAF

Thanks,
Ranjith DevRanjith Dev
Thank you for the information Vinay. the issue is resolved.

The S3 bucket is storing the data only in the file format, but I was try to send without file format.

The below blog was helping me to do the task.
https://developer.salesforce.com/forums/?id=906F0000000BMDFIA4