GOP House leaders delayed their planned vote on Friday on a long-promised bill to repeal and replace “Obamacare,” in a stinging setback for House Speaker Paul Ryan and President Donald Trump in their first major legislative test.

The decision came after Trump, who ran as a master dealmaker, failed to reach agreement with a bloc of rebellious conservatives.

Moderate-leaning Republican lawmakers were also bailing on the legislation, leaving it short of votes.

The bill could still come to a vote in coming days, but cancelling Friday’s vote was a significant defeat. It came on the seven-year anniversary of President Barack Obama signing the Affordable Care Act, years that Republicans have devoted to promising repeal.

Those promises helped them keep control of the House and Senate and win the White House, but now, at the moment of truth, they are falling short.

“No deal,” House Freedom Caucus Chairman Mark Meadows, R-N.C., said after he and his group of more than two dozen rebellious conservatives met with Trump to try to get more concessions to reduce requirements on insurance companies.

The Republican legislation would halt Obama’s tax penalties against people who don’t buy coverage and cut the federal-state Medicaid program for low earners, which the Obama statute had expanded.

It would provide tax credits to help people pay medical bills, though generally skimpier than Obama’s statute provides. It also would allow insurers to charge older Americans more and repeal tax boosts the law imposed on high-income people and health industry companies.

The measure would also block federal payments to Planned Parenthood for a year, another stumbling block for GOP moderates.

In a danger sign for Republicans, a Quinnipiac University poll found that people disapprove of the GOP legislation by 56 % to 17 %, with 26 % undecided. Trump’s handling of health care was viewed unfavourably by 6 in 10.

The survey was conducted March 16 to 21 with a margin of sampling error of plus or minus 3 percentage points.

GOP leaders had targeted today for the climactic vote, in part because it marks the seventh anniversary of Obama’s signing the measure into law.

With the House in recess awaiting the outcome of the White House meeting, C—SPAN aired video of that signing ceremony.

House Minority Leader Nancy Pelosi, D-Calif., couldn’t resist a dig.

“You may be a great negotiator,” she said of Trump. “Rookie’s error for bringing this up on a day when clearly you’re not ready.”