Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Get File Contents

Prev Next
Step Details
Introduced in Version9.0.0
Last Modified in Version9.25.0
LocationIntegration > Amazon AWS > S3

The Get File Contents step is used to retrieve the file information of a specified file, then output the acquired information.

Prerequisites 


Properties

Inputs

PropertyDescriptionData Type
Bucket NameName of Bucket to pull file from.String
File NameName of file to retrieve contents for.String
RegionThe Amazon AWS Region in which the instance is located.AmazonAWSRegion
Override Role CredentialsOptional input allowing Users to alter the default role used to create the folder.AssumeRoleCredentials
Return Null if File Not FoundEnables Users to control whether null is returned if the specified file isn't found in the S3 bucket. Boolean

Override Settings

PropertyDescriptionData Type
Access Key IDID used to connect to Amazon S3.String
Secret Access KeySecret Access Key used to connect to Amazon S3.                                                                  String

Outputs

PropertyDescriptionData Type
Done----

OutputThe outputted file contents.List of Byte


Common Errors

The AWS Access Key ID Provided Does not Exist in Our Records

If the Access Key ID is invalid or missing, the step will cause an error.

To correct this, ensure the Access Key ID is correctly inputted.

Exception Message:

DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Create Folder 1[CreateFolder] in flow [S3 Step Flows]: Exception invoking method CreateFolder on class AmazonS3Steps
 ---> DecisionsFramework.LoggedException: Exception invoking method CreateFolder on class AmazonS3Steps
 ---> Amazon.S3.AmazonS3Exception: The AWS Access Key Id you provided does not exist in our records.
 ---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown. at Amazon.Runtime.HttpWebRequestMessage.ProcessHttpResponseMessage(HttpResponseMessage responseMessage)
 at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)
 at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.Runtime.Internal.RedirectHandler.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.S3.Internal.AmazonS3ResponseHandler.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
   --- End of inner exception stack trace ---

Step Changes

DescriptionVersionDateDeveloper Task
A boolean input field has been added to the AWS Get File Contents step to control whether null is returned if the file isn't found in the S3 bucket.
9.25May 2026[DT-044411]
Related Information

Amazon AWS S3