A photo illustration shows the Uber app on a mobile telephone, as it is held up for a posed photograph, in London, Britain November 10, 2017. REUTERS/Simon Dawson

(Reuters) - Uber Technologies Inc said on Thursday that it discussed a massive data breach with potential investor SoftBank Group Corp ahead of going public with details of the incident on Tuesday.

The ride-hailing service is trying to complete a deal in which the Japanese company would invest as much as $10 billion (£7.52 billion) for at least 14 percent of Uber, mostly by buying out existing shareholders.

“We informed SoftBank that we were investigating a data breach, consistent with our duty to disclose to a potential investor, even though our information at the time was preliminary and incomplete,” Uber said in a statement.

“We also made clear that our forensic investigation was ongoing,” Uber said. “Once our internal inquiry concluded and we had a more complete understanding of the facts, we disclosed to regulators and our customers in a very public way.”

Uber described its early discussion with SoftBank when asked to comment on a Thursday Wall Street Journal report on the disclosure, which the newspaper said occurred about three weeks ago.

The Wall Street Journal also said that more than two months elapsed between the time Uber Chief Executive Dara Khosrowshahi learned of the breach and this week’s disclosure, citing unnamed sources familiar with the matter.

Uber did not say when Khosrowshahi first learned of the breach, or reveal the specific date of its disclosure to SoftBank.