Questions tagged [aws]
The aws tag has no usage guidance.
76
questions
0
votes
0
answers
71
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) ...
0
votes
0
answers
29
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-...
0
votes
0
answers
51
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&...
0
votes
1
answer
291
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://...
0
votes
1
answer
85
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 ...
0
votes
0
answers
278
views
Cannot deserialize instance of boolean from VALUE_STRING value f or request may be missing a required field
I'm trying to update a Salesforce object using AWS AppFlow. My current process looks like this
AWS REDSHIFT --> S3 <--AppFlow --> Salesforcce
Redshift query is very basic:
UNLOAD(
'select
...
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,...
0
votes
0
answers
224
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 ...
1
vote
1
answer
171
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....
2
votes
1
answer
758
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
0
votes
1
answer
364
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 ...
-3
votes
1
answer
473
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= ...
2
votes
1
answer
402
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
...
0
votes
0
answers
290
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 ...
1
vote
1
answer
278
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 ...
0
votes
1
answer
307
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/...
0
votes
0
answers
492
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 '...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
136
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, ...
0
votes
1
answer
643
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 ...
0
votes
1
answer
663
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 - ...
1
vote
1
answer
1k
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
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 ...
1
vote
1
answer
425
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
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();
...
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 ...
0
votes
1
answer
493
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 ...
1
vote
1
answer
3k
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
2
answers
488
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
2
answers
392
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
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. ...
1
vote
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 ...
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 ...
8
votes
1
answer
3k
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
1
answer
2k
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
1
answer
539
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
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 ...
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 ...
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 ...
4
votes
2
answers
6k
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
1
answer
436
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
0
answers
398
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 ...
2
votes
0
answers
676
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
0
answers
499
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
2
answers
890
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
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 ...
1
vote
0
answers
396
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
1
answer
260
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
0
answers
120
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
1
answer
1k
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....