pitch a curve

To catch someone unawares; confront someone with an unexpected event or act.
My professor pitched me a curve ball when he unexpectedly confronted me with a complicated mathematical equation that was way over my head.
Categories: verb

An client error occurred: Error calling GET https://www.googleapis.com/youtube/v3/search?part=id%2Csnippet&q=%22pitch+a+curve%22&maxResults=4&videoEmbeddable=true&videoSyndicated=true&safeSearch=strict&type=video&key=AIzaSyCfLRuAZZNAQm6a5uDzgY-Tt668bxsppCs: (403) The request cannot be completed because you have exceeded your <a href="/youtube/v3/getting-started#quota">quota</a>.