Subject: | Can not obtain error message from Amazon. It was ignored |
x387: my $r = ref $src ? $src : $self->_xpc_of_content($src);
388:
Show quoted text
>>389: if ($r->{Error}) {
x390: $self->err($r->{Error}{Code});
x391: $self->errstr($r->{Error}{Message});
x392: return 1;
393: }
x394: return 0;
Where $r == {
AWSAccessKeyId => "XXXXXXXXXXXXX",
Code => "InvalidAccessKeyId",
HostId => "FpbEm1/zzzzzzzzzzzzzzzzzzzzzzz4=",
Message => "The AWS Access Key Id you provided does not exist in our records.",
RequestId => "C4472C3325E7FE6F",
}
It seems response format from amazon was changed. You expect { Error } hash key, but it does not exists.