aws-sdk-perl
aws-sdk-perl copied to clipboard
Malformed JSON for Paws::S3::PutBucketPolicy
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
Latest version of the paws library also.
Sorry for the trouble! Any tips on fixing would be greatly appreciated.
beep