Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Issue while loading file to S3 using ts3put component

Hi,

 

I am getting the below mentioned error while trying to place a  csv file in S3.

The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. (Service: Amazon S3; Status Code: 301; Error Code: PermanentRedirect; Request ID: 209B9CAC98285E2D)
[ERROR]: iff.s3connection_0_1.S3Connection - tS3Put_1 - The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. (Service: Amazon S3; Status Code: 301;
Error Code: PermanentRedirect; Request ID: 209B9CAC98285E2D)

 

 

Please suggest.

 

 

Thanks in Advance,

Gayathri

Labels (4)
5 Replies
Anonymous
Not applicable
Author

Hi,

 

 

Please check the region value

 

Thanks in Advance

siva

 

Anonymous
Not applicable
Author

Hi,

 

Region of my S3 bucket is us-east-2, which is not listed in tS3Connection. 

When i hard code the value as "us-east-2". I am getting error as given below

Exception in component tS3Connection_1 (S3Connection)
java.lang.IllegalArgumentException: No region provided
at com.amazonaws.AmazonWebServiceClient.setRegion(AmazonWebServiceClient.java:358)
at com.amazonaws.services.s3.AmazonS3Client.setRegion(AmazonS3Client.java:573)
at iff.s3connection_0_1.S3Connection.tS3Connection_1Process(S3Connection.java:1253)
at iff.s3connection_0_1.S3Connection.runJobInTOS(S3Connection.java:3602)
at iff.s3connection_0_1.S3Connection.main(S3Connection.java:3408)
[FATAL]: iff.s3connection_0_1.S3Connection - tS3Connection_1 No region provided
java.lang.IllegalArgumentException: No region provided
at com.amazonaws.AmazonWebServiceClient.setRegion(AmazonWebServiceClient.java:358)
at com.amazonaws.services.s3.AmazonS3Client.setRegion(AmazonS3Client.java:573)
at iff.s3connection_0_1.S3Connection.tS3Connection_1Process(S3Connection.java:1253)
at iff.s3connection_0_1.S3Connection.runJobInTOS(S3Connection.java:3602)
at iff.s3connection_0_1.S3Connection.main(S3Connection.java:3408)

 

When i select "Default" in region, i am getting the below error

[statistics] connected
Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 192F5E6D920F0948)
[ERROR]: iff.s3connection_0_1.S3Connection - tS3Get_1 - Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 192F5E6D920F0948)
[statistics] disconnected

 

when i select  US West (Oregon) / US West (N. California), I am getting the below error

 

[statistics] connected
The bucket you are attempting to access must be addressed using the specified endpoint.
Please send all future requests to this endpoint. (Service: Amazon S3; Status Code: 301;
Error Code: PermanentRedirect; Request ID: CCECD639086B98E7)
[ERROR]: iff.s3connection_0_1.S3Connection -
tS3Put_1 - The bucket you are attempting to access must be addressed using the specified endpoint.
Please send all future requests to this endpoint. (Service: Amazon S3; Status Code: 301;
Error Code: PermanentRedirect; Request ID: CCECD639086B98E7)
[statistics] disconnected

 

 

Please advice on how to proceed further.

 

Regards,

Gayathri

Anonymous
Not applicable
Author

Hi Team,

 

Could anyone please share your ideas to solve the above mentioned issue .

 

Early response will be more helpful.

 

Thanks-

Gayathri S

Sonia_Cote
Contributor
Contributor