log request id when insert fails