aws-sdk-perl
                                
                                 aws-sdk-perl copied to clipboard
                                
                                    aws-sdk-perl copied to clipboard
                            
                            
                            
                        Paws::Route53::CreateHostedZone - Bad Request
my $ref = join '', (localtime);
  my $result = $r53svc->CreateHostedZone(
    CallerReference => $ref,
    Name                  => $kops_zone,
  );  
There's no issue with other Paws services or listing hosted zones for this Amazon account, only CreateHostedZone is giving me a problem. The request fails whatever string I use as a caller reference or zone name. My Paws version is 0.37.
Bad Request
Trace begun at /Library/Perl/5.18/Paws/Net/RestXMLResponse.pm line 24
Paws::Net::RestXMLResponse::process('Paws::Net::RestXMLResponse=HASH(0x7fe73eccb8f0)', 'Paws::Route53::CreateHostedZone=HASH(0x7fe73fd4b648)', 'Paws::Net::APIResponse=HASH(0x7fe73fd7c5c0)') called at /Library/Perl/5.18/Paws/Net/Caller.pm line 46
Paws::Net::Caller::caller_to_response('Paws::Net::Caller=HASH(0x7fe7439c0b48)', 'Paws::Route53=HASH(0x7fe73fca81b8)', 'Paws::Route53::CreateHostedZone=HASH(0x7fe73fd4b648)', 'Paws::Net::APIResponse=HASH(0x7fe73fd7c5c0)') called at /Library/Perl/5.18/Paws/Net/RetryCallerRole.pm line 19
Paws::Net::RetryCallerRole::do_call('Paws::Net::Caller=HASH(0x7fe7439c0b48)', 'Paws::Route53=HASH(0x7fe73fca81b8)', 'Paws::Route53::CreateHostedZone=HASH(0x7fe73fd4b648)') called at /Library/Perl/5.18/Paws/Route53.pm line 66
Paws::Route53::CreateHostedZone('Paws::Route53=HASH(0x7fe73fca81b8)', 'CallerReference', 'wtfdamnit', 'Name', 'the-zone') called at r53 line 55
main::zones('the-zone') called at r53 line 23
Hi,
Was this happening with older Paws? Or have you just tried with 0.37?
Hi,
I already had 0.37 installed, I haven't tried with an older version.
This should be fixed in this branch
https://github.com/byterock/aws-sdk-perl/tree/s3ObjectTagging
Do you have a test that can be run?