The JSON decoder in Wingman.pm assumes that the decode will be successful, which is of course silly. So we just need to modify this line: $beanstalk->decoder(sub { @{decode_json(shift)} }); to be more intelligent