Get MethodNotAllowed error when using the Select Object Content Activity

Get MethodNotAllowed error when using the Select Object Content Activity

book

Article ID: KB0137397

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Amazon S3 6.7.x

Description

AWS has made the decision to close new customer access to Amazon S3 Select and Amazon S3 Glacier Select effective July 25, 2024.

This change affects the use of the SelectObjectContent activity. If the user's account has no access to the Select operation, The following error would occur:

 

<ns0:AmazonS3ServiceException xmlns:ns0="http://schemas.tibco.com/bw/plugins/Amazons3/Amazons3Exceptions">
 <msg>TIBCO-BW-PALETTE-AMAZONS3-500006: AmazonS3ServiceException occurred for activity [SelectObjectContent].The specified method is not allowed against this resource. (Service: Amazon S3; Status Code: 405; Error Code: MethodNotAllowed; Request ID: XXXXXXXXXXXXXXXX; S3 Extended Request ID: XXX-xxx; Proxy: null)-{ActivityName=SelectObjectContent, ProcessName=amazons3demo.SelectObjectContentDemo, ModuleName=AmazonS3Demo}</msg>
 <msgCode>500006</msgCode>
</ns0:AmazonS3ServiceException>

 

Environment

All supported environment

.

Resolution

Use the Get Object Activity to get the file in the Bucket.

Issue/Introduction

The MethodNotAllowed error returned if using the Select Object Content Activity of the TIBCO ActiveMatrix BusinessWorks Plug-in for Amazon S3.

Additional Information

The AWS document: https://docs.aws.amazon.com/AmazonS3/latest/userguide/selecting-content-from-objects.htm