Yuck. Sounds like your cannabis was grown with some bad stuff and or not flushed out properly.
Could be one or many things;
PGRs
Nutes
Pesticides
Etc
Smoking cannabis should never cause what you described. Mother earth wouldn't do that to you and there is zero excuses I can think ofof why companiesneed to use them chems. Bet the company said it was grown organic too...