Context: I need to send an .xlsx file to an AWS S3 Bucket. I have a user with full access to the bucket, either to get an object or just to list the information. I made a python version (using Boto3 ) with this same user and it worked.
Problem: When I do the “Upload Object from File” activity from UiPath.AmazonWebServices.Activities, I get an access denied return, even with the correct information.
Suspicions: I believe that the fact that I’m not putting “temporary session token” may be influencing it, but I couldn’t find any information to get this Token via UiPath.
Does anyone have a solution? I’m having a lot of trouble
Example flow:
RemoteException wrapping UiPath.AmazonWebServices.Core.AWSException: Failed to get the bucket details: Access Denied
Error: Access Denied ---> RemoteException wrapping Amazon.S3.AmazonS3Exception: Access Denied ---> RemoteException wrapping Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown.
at Amazon.Runtime.HttpWebRequestMessage.ProcessHttpResponseMessage(HttpResponseMessage responseMessage) in C:\codebuild\tmp\output\src856464873\src\aws-sdk-net\sdk\src\Core\Amazon.Runtime\Pipeline\HttpHandler\_netstandard\HttpRequestMessageFactory.cs:line 595
at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken) in C:\codebuild\tmp\output\src856464873\src\aws-sdk-net\sdk\src\Core\Amazon.Runtime\Pipeline\HttpHandler\_netstandard\HttpRequestMessageFactory.cs:line 546
at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext) in C:\codebuild\tmp\output\src856464873\src\aws-sdk-net\sdk\src\Core\Amazon.Runtime\Pipeline\HttpHandler\HttpHandler.cs:line 185
at Amazon.Runtime.Internal.RedirectHandler.InvokeAsync[T](IExecutionContext executionContext) in C:\codebuild\tmp\output\src856464873\src\aws-sdk-net\sdk\src\Core\Amazon.Runtime\Pipeline\Handlers\RedirectHandler.cs:line 0
at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext) in C:\codebuild\tmp\output\src856464873\src\aws-sdk-net\sdk\src\Core\Amazon.Runtime\Pipeline\Handlers\Unmarshaller.cs:line 85
at Amazon.S3.Internal.AmazonS3ResponseHandler.InvokeAsync[T](IExecutionContext executionContext) in C:\codebuild\tmp\output\src856464873\src\aws-sdk-net\sdk\src\Services\S3\Custom\Internal\AmazonS3ResponseHandler.cs:line 58
at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext) in C:\codebuild\tmp\output\src856464873\src\aws-sdk-net\sdk\src\Core\Amazon.Runtime\Pipeline\ErrorHandler\ErrorHandler.cs:line 99
--- End of inner exception stack trace ---