--- title: "Put File In S3" slug: "put-file-in-s3" updated: 2025-08-14T15:09:45Z published: 2025-08-14T15:09:45Z canonical: "documentation.decisions.com/put-file-in-s3" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Put File In S3 | Step Details | | --- | | **Introduced in Version** | 9.0.0 | | **Last Modified in Version** | 9.0.0 | | **Location** | Integration > Amazon AWS > S3 | The **Put File In S3** step is used to add a specified file to the specified S3 bucket. ### Prerequisites - This step requires the [Amazon AWS Module](https://documentation.decisions.com/docs/aws) to be [installed](https://documentation.decisions.com/docs/installing-modules-decisions) before it will be available in the toolbox, and an active [AWS account](https://signin.aws.amazon.com/signin?redirect_uri=https%3A%2F%2Fconsole.aws.amazon.com%2Fconsole%2Fhome%3FhashArgs%3D%2523%26isauthcode%3Dtrue%26nc2%3Dh_ct%26src%3Dheader-signin%26state%3DhashArgsFromTB_eu-north-1_c1412528899e4833&client_id=arn%3Aaws%3Asignin%3A%3A%3Aconsole%2Fcanvas&forceMobileApp=0&code_challenge=HQku5BPrRUboP5p1wGr4Ai_nBIQNSqsR2eHJNCBfxhQ&code_challenge_method=SHA-256). The [Amazon WebServices Settings](https://documentation.decisions.com/docs/setting-up-amazon-webservices-integration) must also be configured. - A dependency must be created after installing the module in order for the the steps to be properly used. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Bucket Name | Name of bucket to add the file to. | String | | File | File to add to the bucket. | FileData | | File Name To Store | Name of the file to store in S3. | String | | Region | The Amazon AWS Region the instance is located on. | AmazonAWSRegion | | Override Role Credentials | Optional input allowing the user to alter the default role used to create the folder. | AssumeRoleCredentials | #### Override Settings | Property | Description | Data Type | | --- | --- | --- | | Access Key ID | ID used to connect to Amazon S3. | String | | Secret Access Key | Secret Access Key used to connect to Amazon S3. | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Done | | | | | Output | Outputs file transfer information. | String | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-08-05_12h17_50.png) --- ## Common Errors ### Exception Invoking Method PutFileInS3 on class AmazonS3Steps If there is an input value not declared, the step will cause an error. To correct this, ensure all input values have been filled out properly. #### Exception Message: ```csharp DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Put File In S3 1[PutFileInS3] in flow [S3 Step Flows]: Exception invoking method PutFileInS3 on class AmazonS3Steps ---> DecisionsFramework.LoggedException: Exception invoking method PutFileInS3 on class AmazonS3Steps ---> System.NullReferenceException: Object reference not set to an instance of an object. at Decisions.AmazonAWS.S3.AmazonS3Steps.PutFileInS3(String BucketName, String FileNameToStore, FileData File, AmazonAWSRegion Region, AssumeRoleCredentials overrideCredentials, String accessKeyId, String secretAccessKey) at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data) at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData) at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-08-05_12h25_50.png) --- Related Information Related Article: [Amazon AWS S3](https://documentation.decisions.com/docs/aws-s3-step-glossary)