<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Getting Error While fetching files from s3 bucket using FetchS3Object Nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Getting-Error-While-fetching-files-from-s3-bucket-using/m-p/363502#M239005</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98568"&gt;@Techie123&lt;/a&gt;&amp;nbsp;Well, like i said,&amp;nbsp; you have to learn the aws side of providing access to a bucket.&amp;nbsp; A public bucket starting point will show you what you have to do, inside of the bucket config, to allow other systems to access that bucket.&amp;nbsp; &amp;nbsp;For example starting from public open bucket, to whatever access control level you ultimately need to have.&amp;nbsp; &amp;nbsp;Getting lost in that space is not necessarily a "nifi" thing....&amp;nbsp; so my recommendation is to build nifi with public bucket,&amp;nbsp; THEN when it works, start testing the deeper access requirements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The controller service configuration provides multiple ways to access a bucket and a bunch of settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2023-02-09 at 9.23.10 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36754i9DD96C58A0E19E9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-02-09 at 9.23.10 AM.png" alt="Screen Shot 2023-02-09 at 9.23.10 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Make sure you have a working access/key credentials tested directly in the processor before moving to the Controller Service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2023-02-09 at 9.23.41 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36755iD4BD0552BD6B2B9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-02-09 at 9.23.41 AM.png" alt="Screen Shot 2023-02-09 at 9.23.41 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 14:25:09 GMT</pubDate>
    <dc:creator>steven-matison</dc:creator>
    <dc:date>2023-02-09T14:25:09Z</dc:date>
    <item>
      <title>Getting Error While fetching files from s3 bucket using FetchS3Object Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-Error-While-fetching-files-from-s3-bucket-using/m-p/363478#M238998</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an requirement to generate temporary credentials of AWS and fetch files from the S3 bucket&amp;nbsp; and use this credentials in&amp;nbsp;FetchS3Object&lt;/P&gt;&lt;P&gt;But at&amp;nbsp;FetchS3Object processor I am getting below error while fetching files from the bucket:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"FetchS3Object[id=xxx] Failed to retrieve S3 Object for FlowFile[filename=xyz.json]; routing to failure: com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain: [EnvironmentVariableCredentialsProvider: Unable to load AWS credentials from environment variables (AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY)), SystemPropertiesCredentialsProvider: Unable to load AWS credentials from Java system properties (aws.accessKeyId and aws.secretKey), WebIdentityTokenCredentialsProvider: To use assume role profiles the aws-java-sdk-sts module must be on the class path., com.amazonaws.auth.profile.ProfileCredentialsProvider@3075e891: profile file cannot be null, com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper@2162bad1: Failed to connect to service endpoint: ]"&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please help me with the issue&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 12:06:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-Error-While-fetching-files-from-s3-bucket-using/m-p/363478#M238998</guid>
      <dc:creator>Techie123</dc:creator>
      <dc:date>2023-02-09T12:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While fetching files from s3 bucket using FetchS3Object Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-Error-While-fetching-files-from-s3-bucket-using/m-p/363490#M238999</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98568"&gt;@Techie123&lt;/a&gt;&amp;nbsp;You are going to need to provide credentials for the nifi calls against any s3 bucket with access controls.&amp;nbsp; &amp;nbsp;I would recommend working in lower nifi dev environments and use a public S3 buckets to get comfortable.&amp;nbsp; &amp;nbsp;This will test basics of your flow without access issues.&amp;nbsp; &amp;nbsp;This will also remove confusion around nifi flow functionality vs AWS access issues and help you learn when/where to use the different ways (key, or a controler service w/ credentials) to provide access from nifi to s3.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 13:34:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-Error-While-fetching-files-from-s3-bucket-using/m-p/363490#M238999</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2023-02-09T13:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While fetching files from s3 bucket using FetchS3Object Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-Error-While-fetching-files-from-s3-bucket-using/m-p/363491#M239000</link>
      <description>&lt;P&gt;I need to use the controller service with credentials but still am getting the error. You have an Idea how can i do that. Any suggestions?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 13:38:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-Error-While-fetching-files-from-s3-bucket-using/m-p/363491#M239000</guid>
      <dc:creator>Techie123</dc:creator>
      <dc:date>2023-02-09T13:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While fetching files from s3 bucket using FetchS3Object Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-Error-While-fetching-files-from-s3-bucket-using/m-p/363502#M239005</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98568"&gt;@Techie123&lt;/a&gt;&amp;nbsp;Well, like i said,&amp;nbsp; you have to learn the aws side of providing access to a bucket.&amp;nbsp; A public bucket starting point will show you what you have to do, inside of the bucket config, to allow other systems to access that bucket.&amp;nbsp; &amp;nbsp;For example starting from public open bucket, to whatever access control level you ultimately need to have.&amp;nbsp; &amp;nbsp;Getting lost in that space is not necessarily a "nifi" thing....&amp;nbsp; so my recommendation is to build nifi with public bucket,&amp;nbsp; THEN when it works, start testing the deeper access requirements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The controller service configuration provides multiple ways to access a bucket and a bunch of settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2023-02-09 at 9.23.10 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36754i9DD96C58A0E19E9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-02-09 at 9.23.10 AM.png" alt="Screen Shot 2023-02-09 at 9.23.10 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Make sure you have a working access/key credentials tested directly in the processor before moving to the Controller Service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2023-02-09 at 9.23.41 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36755iD4BD0552BD6B2B9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-02-09 at 9.23.41 AM.png" alt="Screen Shot 2023-02-09 at 9.23.41 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 14:25:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-Error-While-fetching-files-from-s3-bucket-using/m-p/363502#M239005</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2023-02-09T14:25:09Z</dc:date>
    </item>
  </channel>
</rss>

