Assuming this is really convolution, on the transform side you get $\hat f \hat g = 1 $, however, when you represent convolution as a matrix the entries in every row are the same numbers rotated, so the fact that the sum of all the elts of f is $0$ means the sum over a row is $0$ which means $\hat f(0) = 0$ and this equation will not have any solutions.