Has this ever happened to anyone?

I was trying to get back to my team after dying and I teleported to my Dva and I immediately died right after. I suspected it had to do with Hazard’s wall but I don’t really know.