3

I receive a "Precondition Failed" error when I try to run:

my $obj = $s3->SelectObjectContent(
    Bucket              => 'MyBucket',
    Expression          => 'SELECT * FROM s3object s',
    ExpressionType      => 'SQL',
    InputSerialization  => {
        JSON => {
            Type => 'LINES'
        }
    },
    Key                 => 'MyKey',
    OutputSerialization => {
        JSON => {}
    } );

I followed https://metacpan.org/pod/Paws::S3::SelectObjectContent#RequestProgress-=%3E-Paws::S3::RequestProgress

I have successfully called "GetObject" using my bucket and key, so those are not responsible for the error.

brian d foy
  • 129,424
  • 31
  • 207
  • 592
abe-aa
  • 31
  • 2

0 Answers0