Not at all. Fasting is about giving your body a break from digestion, which means that you're not eating. It also means that your body has a break from releasing the hormone, insulin. So it's not the end of the world if you accidentally eat or swallow something within your fasting window, just keep going!