Skip to main content

Questions tagged [aws]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
111 views

Get Presigned URL using named credentials

I successfully obtained the pre-signed URL to upload large file to aws s3 bucket using the method described in the article https://mtr-design.com/news/how-to-create-a-presigned-url-for-aws-s3-using-...
Mohamed Ashfak's user avatar
2 votes
0 answers
68 views

Salesforce AWS EventRelay refuses to connect to AWS DEV after sandbox refresh

In November I set up a SF Event Relay for AWS Eventbridge in our DEV SF sandbox which pointed to our DEV AWS account using the Named Credential, Event Relay, Event Channel, Published Events process, ...
Jeremy Walker's user avatar
0 votes
0 answers
102 views

how SSO will use with iframe to load an external application in salesforce

I have done the setup of connected app and also done the setup at aws end. when i try opening that connected app directly and after that i click on iframe included tab, it is loading fine. but when - ...
Dipika Rajput's user avatar
1 vote
1 answer
350 views

Calling AWS Simple Email Service from Apex

I have been trying to integrate the Amazon SES API into my Salesforce project so I can setup a scheduled batch job to send bulk emails. I've created this class to create a signed request to the SES ...
Jake Colledge's user avatar
0 votes
0 answers
208 views

Sending a multi-valued attribute in SAML assertion

I made connected App in Sandbox to log in AWS using SSO from Salesforce (SFDC-identity Provider, AWS - ServiceProvider) we set up NAME ID Format (urn:oasis:names:tc:SAML:2.0:nameid-format:persistent) ...
송지은's user avatar
0 votes
0 answers
62 views

SCV in a renamed sandbox cant get reconnected

Some lambdas are failing to run in my SCV AWS connect environment I have followed the instructions found here https://github.com/amazon-connect/amazon-connect-salesforce-scv/tree/master/Common/AWSSCV-...
Dave Hamburg's user avatar
0 votes
0 answers
103 views

Trouble using HTTP callout action in Flows with AWS Signature Version 4

I'm trying to make a very simple AWS API call out using an HTTP callout (POST request) in salesforce but I have been getting the following error. {"__type":"InvalidSignatureException&...
Adam J's user avatar
  • 1
0 votes
1 answer
711 views

Cant retrieve EventRelayConfig metadata in VSCode

im playing around with the rather new event relay feature that integrates salesforce into AWS. The feature itself works fine but I stumbled upon the metadata page in the salesforce docs ( https://...
Outcast1104's user avatar
0 votes
1 answer
155 views

Embedded Deployment service on EC2 instance not rendering

I created a screen flow and then an embedded service. I whitelisted the domain via CORS and CSP Trusted Sites. Here is my URL to the ECP instance: https://ec2-44-xxx-xxx-xxx.compute-1.amazonaws.com/ I ...
Matthew Metros's user avatar
0 votes
0 answers
1k views

Error : 10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None

We are getting this error Error: - requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054,...
Ambarish Pandey's user avatar
0 votes
0 answers
282 views

AWS S3 delete multiple files: signature does not match the signature you provided

I'm trying to use an apex class to remove multiple files from any specified S3 bucket, but at the moment of sending the request, I recieve the following response: SignatureDoesNotMatch The request ...
César Villanueva's user avatar
1 vote
1 answer
243 views

Event-based integration with AWS: durability

I am trying to build a sync mechanism between Salesforce and AWS using AWS AppFlow(Event based). But as per salesforce doc, Change Data Capture Events are only retained for 72 hours: https://developer....
ashwini571's user avatar
2 votes
1 answer
1k views

AWS S3 - implementing CRUD operations with Named Credentials

How can I perform the following operations in Apex on AWS S3 bucket: List the contents of the bucket Add a file to the bucket Update the file Delete the file
identigral's user avatar
  • 7,680
0 votes
1 answer
511 views

AWS S3 DeleteObjects via Named Credentials

I am trying to call AWS S3 DeleteObjects REST API from Apex. I am able to successfully perform this operation in Postman using their Sig4 Auth tool but I am struggling to get this working in Apex. I ...
Rory's user avatar
  • 429
-3 votes
1 answer
660 views

Exceeded max size limit of 6000000 Error. on requested data via api [closed]

request.setEndPoint('callout:AWS_S3/Test/Demo.csv'); request.setHeader('Content-Type', 'application/xml'); request.setMethod('GET'); Http http= new Http (); HTTPResponse response= ...
cicihef17's user avatar
2 votes
1 answer
543 views

Event Relay to AWS - Not Creating Partner Source in Event Bridge

I've been trying out the newly launched Event Relay with AWS EventBridge integration based on this docs here: https://developer.salesforce.com/docs/platform/event-relay/guide/relay-events-section.html ...
Selvan Ramsamy's user avatar
0 votes
0 answers
430 views

SFMC Journey Builder Custom Activity - deployment to AWS

I'm currently building custom activity for Journey Builder. As of now I host it on Heroku but I'd like to move it to AWS. Does anyone done this and can tell me which AWS tools would be needed? I've ...
learningFox's user avatar
1 vote
1 answer
330 views

Open CTI - JS error unable to call

I have install and configure the salesforce package (Amazon Connect - Universal Package). Everything looks fine, when using the CTI dialer. I am able to make phone calls. However, when I click in the ...
manza's user avatar
  • 1,953
0 votes
1 answer
371 views

Eventbus relay error: Encryption not supported in Offcore Runtime

I've tried setting up the new Salesfoce -> AWS Eventbridge integration using the new event bus relay. This is the guide I followed: https://resources.docs.salesforce.com/rel1/doc/en-us/static/pdf/...
TNelen's user avatar
  • 1
1 vote
1 answer
696 views

AWS Named Credential in Salesforce Error (Endpoint needs to be in full URL form)

I have an AWS account and two Orgs. I want to link an AWS account to Salesforce with Named Credentials. One Org is of 240 branch and the other is a Sandbox Org that is owned by a customer. I used the '...
Jang ho Jung's user avatar
0 votes
1 answer
3k views

Attempting to upload file to AWS S3 but file is corrupt

I am attempting to download a file from SharePoint through their Rest API, and then upload that file to my S3 Bucket. I can "successfully" download the file and upload to S3. The issue is ...
cmptrer's user avatar
  • 103
0 votes
1 answer
169 views

Invalid grant error when do AuthenticationClient.UsernamePasswordAsync()

I have a simple console .NET application with the next lines: System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12; await auth.UsernamePasswordAsync(consumerKey, ...
elshev's user avatar
  • 101
0 votes
1 answer
890 views

How retrieve Default Org Values from Custom Settings to Visual Studio?

We want to change our 'Default Org Values' in our repo, but we don't find the option in Visual Studio. We are using Visual to upload the code to AWS and need to change this. We tried to include the ...
dibanepa's user avatar
0 votes
1 answer
750 views

OpenID Connect AWS Cognito - ERROR: No_OpenId_Response

Overview Currently using AWS Cognito User Pools as Identity Provider using OpenID Connect for logging in a Salesforce Community. I'm currently getting a similar issue with this post OpenID Connect - ...
sfdx's user avatar
  • 1,109
1 vote
1 answer
2k 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, ...
Alexis Frisch's user avatar
0 votes
1 answer
2k 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 ...
Casey Sheehan's user avatar
1 vote
1 answer
563 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 ...
Hernán Rodríguez's user avatar
1 vote
0 answers
86 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(); ...
Alexis Frisch's user avatar
5 votes
0 answers
1k 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 ...
n41r0j's user avatar
  • 51
0 votes
1 answer
559 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 ...
ps2goat's user avatar
  • 109
2 votes
1 answer
4k 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 ...
Nagaraj Ramachandran's user avatar
2 votes
2 answers
518 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: '...
Nagaraj Ramachandran's user avatar
0 votes
2 answers
434 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 ...
RedDevil's user avatar
  • 7,841
0 votes
2 answers
1k 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. ...
alanhh's user avatar
  • 11
2 votes
1 answer
2k 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 ...
Anant's user avatar
  • 138
5 votes
1 answer
2k 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 ...
Deployment Failure's user avatar
8 votes
1 answer
4k 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: ...
Devst's user avatar
  • 233
2 votes
1 answer
3k 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';...
Prateek Kumar's user avatar
0 votes
1 answer
556 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 ...
Sudarshan's user avatar
  • 101
5 votes
1 answer
3k 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 ...
ddeve's user avatar
  • 1,606
1 vote
1 answer
2k 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 ...
GroundToCloud's user avatar
1 vote
1 answer
2k 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 ...
weytani's user avatar
  • 397
4 votes
2 answers
7k 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 ...
Alexis Bell's user avatar
0 votes
1 answer
470 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 ...
S.B.'s user avatar
  • 2,111
3 votes
0 answers
432 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 ...
fallaway's user avatar
  • 131
2 votes
0 answers
798 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 ...
Bryce's user avatar
  • 442
1 vote
0 answers
525 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 ...
user27909's user avatar
0 votes
2 answers
969 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 ...
willard's user avatar
  • 1,022
9 votes
2 answers
2k 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 ...
Vamsi Krishna Gosu's user avatar
1 vote
0 answers
412 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 ...
Dansy Yohannan's user avatar