I accidentally smoked a vape e cigarettes while I was fasting out of forgetfulness. Does it break my fast?

If it's happened unintentionally your fast is valid as long as you have not vaped another puff after realizing the about your act. Or you have not done anything else which can invalidate your fast.