Open Question: Can i be allergic to weed?

my first time i smoked weed, i felt like i was going to die. instead of being relaxed, i panicked and my heart was pounding REALLY FAST and i felt like i was going to die. i also almost passed out lol. my friends told me that i smoked way too much for me to handle and that i was trapped in a classroom. so i did some research and i read somewhere that people can be allergic to weed. can this be true or is this BS?