[ https://issues.apache.org/jira/browse/NIFI-10204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17564917#comment-17564917 ]
davide edited comment on NIFI-10204 at 7/11/22 10:33 AM: --------------------------------------------------------- Hi! * EU (Milan) eu-south-1 * I checked if there are any spaces or white lines. * Furthermore i check other users which have access to that bucket and I have the same problem. If you need other stuff let me know. thank you so much was (Author: vadidde): Hi! * EU (Milan) eu-south-1 * I checked if there are any spaces or white lines. * Furthermore i check other users which have access to that bucket and I have the same problem. > ListS3 with AWSCredentialsProviderControllerService cause invalid or > malformed Token > ------------------------------------------------------------------------------------ > > Key: NIFI-10204 > URL: https://issues.apache.org/jira/browse/NIFI-10204 > Project: Apache NiFi > Issue Type: Bug > Affects Versions: 1.15.2 > Reporter: davide > Priority: Major > Attachments: Screenshot 2022-07-08 at 12.48.29.png, Screenshot > 2022-07-08 at 12.49.59.png > > > I set ListS3 (see listS3 image) then provided an assume role with an external > id and role to access on another aws account in a > AWSCredentialsProviderControllerService. > Then i get this error: > ListS3[id=995de262-xxxx-xxxx-xxxx-fffff0131a31] Failed to list contents of > bucket due to The provided token is malformed or otherwise invalid. (Service: > Amazon S3; Status Code: 400; Error Code: InvalidToken; Request ID: > E4Wxxxxxxxxx5G6; S3 Extended Request ID: CvR37+xxxxxxx; Proxy: null): > com.amazonaws.services.s3.model.AmazonS3Exception: The provided token is > malformed or otherwise invalid. (Service: Amazon S3; Status Code: 400; Error > Code: InvalidToken; Request ID: xxxxxx; S3 Extended Request ID: > CvxxxxxxGtArq7ak=; Proxy: null), S3 Extended Request ID: CvR37+dbdxxxxxxk= > From the nifi nodes with the aws cli listing on that bucket does it works. > Does anyone knows how to debug? or to solve? > I search across internet but i do not found anything like my problem. > thank you -- This message was sent by Atlassian Jira (v8.20.10#820010)