Overview
The Amazon S3 Utilities Plug-in leverages the Amazon AWS Java API to connect with Amazon S3 to store and retrieve files.
Key Features & Functionality
The following smart services are included:
The plug-in also includes a function:
Amazon S3 Utilities supports the following Amazon S3 features:
Note: The plug-in requires Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files when using client side encryption.
(https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html)
The Appian Secure Credential Store is leveraged for the credentials to integrate with Amazon S3. Before executing the plug-in, create an new secure credential store with the following 3 attributes. These values are obtained from Amazon AWS IAM console.
Seems like the latest update yields this error when installing or upgrading from Admin Console -> Plugins -> Add Plug-Ins
HTTP Code: 500 APNX-1-4198-019 An Error Has Occurred Expression evaluation error [evaluation ID = b6607:8126d] : An error occurred while executing a save: java.util.UnknownFormatConversionException: Conversion = 'D'
Any ideas on how to resolve?
Yeah it is causing an issue. The document cannot be downloaded since the site cannot be reached. This is what I see on the browser:
__________________
This site can’t be reached
Check if there is a typo in s3.{bucket-name}.amazonaws.com.
Is this causing an issue? Can you not access the doc?
When using the function getPreSignedURLForS3, it is returning a singed URL starting with the domain name as below.
https://s3.{bucket-name}.amazonaws.com/
While my domain name for the S3 bucket in console is as below
https://{bucket-name}.s3.us-east-1.amazonaws.com/
Does anybody know, why the function returns the URL an incorrect format. I am passing the region parameter as "us-east-1". Or how can I fix/correct this?
Not sure if that is possible, you may got some help on S3 forums. Since the web api response is a redirect, the extra headers don't do anything.
Thank Mike ! I am able to download file now...but one more challenge i am facing is that I need to rename the file which is being getting download from presigned URL.I try to add extra header
Content-Disposition: attachment; filename="test.txt"But it is not workingAny suggestion ?
Why are you linking to an integration object? The link needs to be to the web api, otherwise the integration object runs and generates the link once - the web api never reevaluates again.
You need a link to the web api with a doc id as param, and a redirect and the URL in the Location header.
Some helpful background reading: en.wikipedia.org/.../HTTP_302
Mike Cichy jeank0002 baratc Iana Bakalova I am facing the same issue ,link is working fine for the first time but after that ,link is giving timeout error....I have generated presigned URL in web api and that web api is being called from interface in safelink .My requirement is to allow user to download document any number of time...link should be available all the time.Could you please help here. and code sample ?