Add some debug info on error response from AWS.