I dont know how Bali views Vape pens but if you have weed you can get 10 years. Death if they think you are trafficking it.
I had a co-worker who had his uncle executed for some small amount in Singapore.
Crazy, but so is Dubai, I remember some English DJ got a few years for a small piece of a leaf on the sole of the shoe.