I read today that $Ax+By+Cz=D \text { has a solution iff } \gcd(\gcd(A,B),C\mid D$ but I can't find it again, I also can't find any Diophantine equations with 3 variables that doesn't have solutions so I'm starting to suspect that I'm remembering something wrong.
My questions are: Are there Diophantine equations with 3 variables that has no solutions?
Is the statement in the title correct?
Note: $A,B,C,D,x,y,z\in \mathbb Z$ and $ A,B,C\neq0$.