You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Peter Turcsanyi (Jira)" <ji...@apache.org> on 2022/07/08 20:49:00 UTC

[jira] [Commented] (NIFI-10204) ListS3 with AWSCredentialsProviderControllerService cause invalid or malformed Token

    [ https://issues.apache.org/jira/browse/NIFI-10204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17564457#comment-17564457 ] 

Peter Turcsanyi commented on NIFI-10204:
----------------------------------------

[~vadidde] I could not replicate the issue because it properly works for me.
 * could you please share the region where your bucket resides?
 * could you please check the configuration of the controller service looking for extra or missing characters (spaces, new lines, etc)

> 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)