The problem I had with the same error was that for a variable product I did not input sell price! When you add product variation you HAVE TO put in the regular price for each variant. I thought that if its empty it will borrow from parent product, but apparently that’s not the case. Interestingly later I noticed that this field says “required” but allows to save empty anyways.