You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "davide (Jira)" <ji...@apache.org> on 2022/07/08 11:02:00 UTC
[jira] [Created] (NIFI-10204) ListS3 with AWSCredentialsProviderControllerService cause invalid or malformed Token
davide created NIFI-10204:
-----------------------------
Summary: 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
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)