Bideford conceded a 90th-minute winner to go out of the FA Cup at Yate Town this afternoon.
James Harmer bundled the ball past Steve Oliver, completing a 2-1 victory for the home side against their higher-division opponents.
Unbeaten in the Calor League Premier Division this season, Bideford appeared to be heading for the next round when Owen Howe put them ahead with a clinical finish on 28 minutes.
But the Robins were punished for a poor second half as goals from Lewis Haldane and Harmer turned the second round qualifying tie.
Both teams played attacking football in an open first half with Oliver doing well to deny former Bristol Rovers forward Haldane and Bideford forcing six corners in the opening half-hour.
Craig Duff went close with a near-post effort and Sean Downing had a 20-yard shot tipped over by Martin Horsell before Howe outmuscled Joe Chandler to score from a tight angle.
As Yate came out for the second half with renewed belief, Bideford slumped to their worst 45 minutes of the season, giving away possession too easily.
The visitors had a penalty appeal turned down when Kevin Squire appeared to be pulled down and Duff’s follow-up effort was blocked.
Yate offered a warning of their threat on the counter-attack when Ross Staley fired over from close range. And the hosts pulled level with 23 minutes to go when a break down the left wing was finished by the impressive Haldane.
As the game became scrappy it looked as though Bideford would settle for a replay at the Sports Ground, but Yate, who reached the FA Cup first round last year, had other ideas.
Nuno Felix broke down the right wing and crossed for Harmer to force the ball into the roof of the net, earning his team the £3,500 prize money.
The result will come as a wake-up call for Bideford who failed to reach their recent standards and suffered their first defeat of the season.
Manager Sean Joyce criticised his players and promised changes ahead of the meeting with Plymouth Argyle in the Devon St Luke’s Cup at the Sports Ground on Tuesday.
“I might have to play one or two because I haven’t got a big enough squad, but every shirt will be up for grabs,” he said.