don't log errors to stdout, use global standard logger
return an error if the http request fails. The error contains the human readable text and also the amz dynamodb error code