Questions tagged [aws]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

How to upload VersionData as pptx to S3? [closed]

I'm trying to upload a file as pptx. First I'm querying my file from ContentVersion and fetch my VersionData. The VersionData is a BLOB object. When I'm uploading this blob, and then downloads it, it ...
0
votes
0answers
31 views

How can we pass more than 4194304 characters from helper class to apex method in salesforce? [duplicate]

I have created chunks of file and wanted to pass 5000000 characters at once but it is showing "Max message parameter length is 4194304 characters". Here is my code - Helper class - var ...
0
votes
1answer
99 views

AWS SDK for SalesForce

We are attempting to use an installed package to access Amazon S3 - AWS SDK This package created an Apex Class: S3 Our Named Credential was created using the information specified in the link above, ...
0
votes
1answer
135 views

How to prevent 403 errors when using S3 presigned URL in image tag? [closed]

I'm having a signature mismatch issue when attempting to use signed URLs within image tags in an aura component. I call the controller to calculate the signed URLs for a number of different image ...
1
vote
1answer
57 views

Does someone deployed a custom activity on S3 or other AWS option? [closed]

I am researching about the options to manage the webserver needed for custom activities (Journey Builder). I know the best option is Heroku, but in my company we've been using AWS and Azure for a ...
1
vote
0answers
83 views

AWS Callout from VisualForce Page [duplicate]

UPDATE Here is my updated Apex Code: public class AmazonS3{ public string AmazonS3Request { get; set; } public static void AmazonS3Request() { HttpRequest request = new HttpRequest(); ...
0
votes
0answers
31 views

Send data to AWS service when Case status is updated

Hi everyone & thanks in advance for your guidance. I'm trying to create some automations that trigger from salesforce and incorporate our external aws database. When a case is updated to a ...
3
votes
0answers
238 views

Invalid replayId when Appflow is triggered by ChangeEvent in Salesforce [closed]

For an integration with Salesforce, I am using AWS Appflow and subsequently AWS Eventbridge to process certain change events in Salesforce. I have set up an AppFlow integration in AWS (as explained ...
0
votes
1answer
73 views

Named Credential auto-generate aws sig4 not working for s3 'versions'

Main issue: I get a signature mismatch error (403 forbidden) when trying to hit the REST api for s3 using the versions action (ListObjectVersions). It seems to me that this may be an error with how ...
0
votes
0answers
53 views

Declarative Amazon Signature Version 4 External Services With Flow

Successful Postman response but getting 404 error when trying to use with declarative External Services in Salesforce Flow. What values would I need either in the Named Credentials or more likely the ...
1
vote
1answer
604 views

Sending large Files to external system

From Salesforce, I am sending files to AWS Server. I am able to successfully achieve it if the file is under 3 to 4 MB. When I try with more than 6 to 7 MB, the file is getting reached to the AWS ...
2
votes
2answers
190 views

Create NamedCredentials for AWS Signature via Metadata API

I am trying to create the named credentials for AWS using Metadata API. I am getting the following error: System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: '...
0
votes
2answers
162 views

Authenticate AWS Transcribe Service from apex

We are trying to use AWS Transcribe service to convert voice to text. As first step we are trying to authenticate to AWS using the documentation they have provided. Whatever we do we end up with the ...
0
votes
2answers
531 views

“HTTP Header Authorization=Not Set” for AWS signature 4 Named Credential

I have set up a Named Credential for AWS Signature Version 4 to access the AWS ElasticSearch service. I have double checked all settings and values and ensured 'Generate Authorization Header' is set. ...
1
vote
1answer
1k views

Connecting Platform Events to Amazon SQS/SNS [closed]

I have a requirement where I need to subscribe to Salesforce Platform Events via AWS. I did some research and found out that we can do so via Lambda. However Lambda has its own limitations. Is it ...
4
votes
1answer
1k views

Consuming platform events on AWS

Salesforce and Amazon announced earlier this year there is a partnership to allow easier sync between the two tech stacks. I recall in a YouTube video AWS product engineers will be able to consume ...
6
votes
1answer
2k views

Accessing AWS S3 via a REST API (Apex callout with a Named Credential)

I am trying to make a callout to AWS S3 using named credentials and Apex The named credential is set up as follows Label: AWS S3 Name: AWS_S3 URL: https://bucket-name.s3.amazonaws.com - Certificate: ...
2
votes
1answer
1k views

How to use AWS S3 JavaScript SDK with Lightning Web Components as 3rd party library

I am trying to initialize the AWS constant in my LWC component but always it is undefined. import { LightningElement, track } from 'lwc'; import { loadScript } from 'lightning/platformResourceLoader';...
0
votes
1answer
367 views

Subscriptions not seen in Salesforce platform events

I am trying to subscribe to Salesforce Platform Events in my Developer Edition through AWS Lambda via Connected App(Using nforce SDK). Code is as follows: var AWS = require('aws-sdk'); //Importing ...
5
votes
1answer
2k views

AWS Signature Version 4 Using Named Credentials [duplicate]

Anyone tried Summer '19 Named Credentials using AWS Signature Version 4 successfully? Trying again to use External Services and first step is the Credentials. I created an IAM user with the ...
1
vote
1answer
601 views

REST Request - AWS Access Key ID and AWS Secret Access Key [closed]

I am reading this document Authenticating Rest Requests The first paragraph says .. Every non-anonymous request to S3 must contain authentication information to establish the identity of the ...
1
vote
1answer
586 views

Are there governance limits on lightning web components

Was curious. Client wants us to render data from an external database in a lightning web component data table. In this situation, as a front ender, I would typically just make an API call out from the ...
0
votes
1answer
623 views

Integration between AWS Salesforce communities

We want to integrate between Salesforce communities and AWS. We have files that come and sit in Amazon S3 (reports) , a community users logins to the portal and has to access the reports. I want to ...
3
votes
2answers
4k views

Using AWS Lambda to query SalesForce

I'm working on a AWS serverless app that will need to query SalesForce from AWS Lambdas to receive it's data and I'm struggling with how to authorize my Lambdas to talk to SalesForce. Most of my ...
0
votes
1answer
229 views

Mass Update Records - AWS S3

Currently, I utilize an AWS endpoint that returns a small JSON response based on my request. I am considering updating all of my records (300,000+) daily. My AWS counterparts can generate a JSON ...
3
votes
0answers
304 views

Salesforce OAuth2 invalid_grant: user hasn't aproved this consumer on AWS

I have developed a client application that accesses Salesforce REST API through OAuth 2 using the Go programming language. Everything works fine locally: I have a correct token, client ID, client ...
1
vote
0answers
341 views

Building a RSA-SHA1 Signature from Apex

I'm trying to sign a request from apex using RSA-SHA1 algorithm. I'm following the Amazon web service requirements to build the signature as i'm actually generating a cloudfront signed url. The ...
1
vote
0answers
367 views

Salesforce to aws Dynamodb connection using Apex [closed]

I am trying to connect SFDC with aws Dynamodb from last few days using query string parameter but not able to generate signature correctly. I have followed steps mentioned in amazon document still I ...
0
votes
1answer
539 views

Amazon SNS into Salesforce

Has anyone worked with Amazon SNS to Salesforce? I see that I can subscribe to a topic which will forward an https request, however, it seems like SNS will only send one https request per message ...
9
votes
2answers
921 views

AWS Cloudfront Signed URL from Apex

We are trying to access S3 resources via Cloudfront inside a VF page in Salesforce. The S3 bucket, folder & files are all marked private and the access is granted only via Cloudfront. We already ...
1
vote
0answers
336 views

Sample Mule flow to get data from Amazon s3 to Salesforce

I have an s3 bucket where a csv file is present which holds certain data about an object. I would like to dump that file data into salesforce using the Mule ESB. I was able to connect salesforce and ...
1
vote
1answer
111 views

How can I call a Python Script (with params) running on AWS EC2 from Salesforce?

I have built a Python script on an Ubuntu EC2 instance (AWS). How can I use a callout (or URL) on Salesforce.com to kickoff that script in the easiest way possible - what I mean is, I do not want to ...
1
vote
0answers
78 views

Cannot install AWS Toolkit in sandbox

I want to install Force.com for AWS through the AppExchange in sandbox. I went through the below link for https://developer.salesforce.com/page/Installing_Force_for_Amazon_Web_Services for step by ...
-1
votes
1answer
814 views

Error while uploading File to S3 from Apex

I am using the below code to upload file to Amazon S3 from Apex class. public void uploadToAmazonS3 () { String filename = this.record.File_Name__c; String attachmentBody = EncodingUtil....
6
votes
1answer
624 views

How to run Lightning Test Service (LTS) from Jenkins hosted on AWS against e.g. BrowserStack?

We run Karma and Protractor Angular tests from a Jenkins continuous integration (CI) server hosted on AWS. Those two frameworks allow the browser to be run remotely in e.g. https://www.browserstack....
0
votes
1answer
198 views

Need some help in fixing this error related to S3 document upload

I am trying to upload documents into S3 and receiving status as Forbidden. Here is the error I am receiving The request signature we calculated does not match the signature you provided. Check your ...
1
vote
0answers
621 views

Connecting Salesforce Marketing Cloud to Amazon Web Service (AWS/S3) [closed]

I want to import files that are located in a Bucket on AWS S3 scheduled into the Marketing Cloud, but can not get this running. What would be the correct file location to choose and how would the set ...
3
votes
1answer
2k views

Javascript ajax call get access is denied error in IE11

Originally I think this question is purely a stackoverflow question about AWS S3, javascript and IE11. And I have posted it in stackoverflow but got no answer. Then I realised this might have ...
1
vote
0answers
37 views

Can ServiceMAX access shared folder on EC2 server by API?

we have four serves, server C and S are EC2, and server B and F are out of AWS, all of them are at the same domain. At the moment, S will get files from shard folder on C and compress to zip, then B ...
0
votes
0answers
1k views

APex-AWS callouts Exception:System.CalloutException: Unexpected end of file from server

Below code when i execting its gives Error Error: Exception USER:System.CalloutException: Unexpected end of file from server Here Is code String endpoint = bucketname+ '.' + host + '/' + filename;...
1
vote
0answers
153 views

Getting SignatureDoesNotMatch error while trying to Request GET Service Amazon S3 bucket

I'm getting a SignatureDoesNotMatch error while trying to Request GET Service Amazon S3 bucket, with the following code: String S3SECRET = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; String S3BUCKET = '...
3
votes
1answer
899 views

Cannot list objects using AWS S3

For some reason, I cannot list objects within my S3 bucket. Here's the steps that I've taken: I've viewed this question and copied this gist from sfdcfox into my org. Here's my AWSS3_GetService ...
4
votes
2answers
4k views

Upload/Download files to and from AWS using Apex

We have a requirement to upload files/attachments on CASE record (using custom drag and drop section) from Service Cloud to AWS S3. We ran into file size limit issue with files bigger than 12 MB. ...
1
vote
0answers
198 views

File upload to Amazon S3 from a visualforce/lightning page? [closed]

Is there any way to transfer files from my VF page directly to S3 server? Any good resource or unmanaged package is welcome.
2
votes
1answer
569 views

How to generate AWS cloudfront signed url in apex?

I am trying to generate AWS Cloudfront signed url using apex but every time get Access Denied. public url is working fine. i.e. jueh890044563.cloudfront.net/test.pdf But I need a signed url of ...
3
votes
1answer
4k views

Exposing Amazon RDS hosted table as OData service

I am new to AWS so please be easy on me.. I have a PostgreSQL DB hosted on Amazon RDS and would to expose few tables of the PostgreSQL database through OData service. The goal is to use these ...
2
votes
1answer
2k views

Amazon S3 - Specifying SSE-S3 with pre-signed URL's usingAPEX

Has anybody worked with creating pre-signed urls for Amazon S3 within APEX along with specifying server side encryption? Currently I am generating pre-signed urls for uploading and downloading files ...
1
vote
1answer
596 views

salesforce saving multiple files large in size to amazon s3.

I am using Soap request in apex to save files in amazon s3.But I cannot upload the files larger than 1Mb. Is there any way to upload multiple files larger than 1Mb directly in s3 from a visual Force ...
1
vote
0answers
407 views

Machine Learning Predictions Repeating

I have to integrate AWS Machine Learning service with Salesforce. I implemented JavaScript SDK http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/MachineLearning.html#predict-property and it ...
0
votes
1answer
211 views

Is it possible to POST content from SMS to Amazon S3 bucket in AMPScript?

Has anyone tried to use the AMPScript HTTPPostfunction to upload message content to amazon S3? Set @AWSpost = HttpPost(@url, "text/html", @messageInfo)]%% I'm wondering if I can pass in parameters ...