aws-sdk-perl icon indicating copy to clipboard operation
aws-sdk-perl copied to clipboard

Malformed JSON for Paws::S3::PutBucketPolicy

Open vlashef opened this issue 3 years ago • 1 comments

Hi Hi

It appears that in the body of the put request the <Policy> and </Policy> are still present however the api is expecting purely the JSON instead.

Nothing funky with how I am using the library etc.

$s3->PutBucketPolicy( 'Bucket' => $bucket, 'Policy' => $policy );

Used ZAP proxy to confirm

image Screen Shot 2022-07-06 at 4 49 55 pm

Latest version of the paws library also.

Sorry for the trouble! Any tips on fixing would be greatly appreciated.

vlashef avatar Jul 06 '22 06:07 vlashef

beep

vlashef avatar Apr 10 '23 05:04 vlashef