A lot of the Gen 4 19s are a ####ing mess.
Standard issues include erratic ejection, weak extraction, and stovepiping.
I would not #### with it for one second...send it back.
The Gen 4 issues have not been sorted out yet and until they are, I'm not buying one. The G19s have been the worst to my knowledge. The G22s have been not too bad, but not great. On the other hand the Gen 3 22s weren't quite as good as the 17s, either.
The G17s have been mixed. But the 19s have been the worst, to my knowledge. I can think of a number of notorious examples.
To fix the issues, you will need the latest RSA, extractor, and ejector. Which may not be available for the 19 yet...I don't know whether they take the same part number as the 17. But they are almost certainly not available in Canada at all. I am not sure whether Glock has made all three available in the US yet.
And that will HOPEFULLY solve your problem. At any rate I wouldn't waste time dicking around with it myself. You need parts that you can't get to fix the problem and Glock sold you a dog. Send it back.