We consider the inverse problem of recovering the source function with pointwise overdetermination conditions. The source is represented as a finite segment of a series with Fourier coefficients depending on time. We prove that the solution is uniquely determined and continuously depends on the data.