14
Views
2
Comments
[Amazon Simple Storage Service (S3)] [Amazon Simple Storage Service (S3)] Getting invalid region Error - S3 AWS
Application Type
Reactive

Hi everyone, I encountered a problem invalid Region Code when using [ Amazon Simple Storage Service (S3) ] S3_PutObject Server Action. I have a bucket on aws S3 created in the AWS Region ( Asia Pacific (Taipei)  ap-east-2  ) . This is the region newly provided in 2025. I also tried set the region as 'APEast2 ',it also work fail. Can someone explain me ?

Thanks

2021-01-19 14-07-32
Tom Zhao

Hi @Logan Zeng 

The last update date for this Forge was December 2024. It may not yet support the regions added in 2025. 


You can try 

Download the latest Forge, open it in Visual Studio using Integration Studio, and update the AWS SDK reference to the latest version. 

Regards,

UserImage.jpg
Logan Zeng

Hi @Tom Zhao 

Thank you for your reply.

I tried the way your mentioned. use visual studio Manage NuGet Package ...  to update the AWSSDK.Core and AWSSDK.S3.After update the console find something wrong with type conversion error .

For Example :Cannot implicitly convert type 'System.DateTime?' to 'System.DateTime'. An explicit conversion exists (are you missing a cast?)  and so on .

I use ?? to check the null value , and set the default value to fix. And at the same time , I find Newtosoft.Json version error in build solution , i update the version too. After completing all of these things, the build solution not fit error any more ,and success publish the extension Name AmazonS3_ext and update the code in Integration Studio . 

Unfortunately, the New Problem was occur when i want to test the S3_PutObject. Error Mes : System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. I can guaratee that all the parameters have been set correctly with the S3_PutObject Server Action.

I don't find any useful solution in the outsystem forums and don't know why this error occur. Maybe my fix error method is wrong.  

I would be most grateful if you have any suggestions or comments.

Regards, 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.