If your pillow potato is gummy on the inside, you most likely over-mixed the dough or used too much flour. Over-mixing the dough will cause the potato to become gummy and the flour to develop gluten.