Is it a new lens or secondhand?
Older Sigmas fit but sometimes don't work without rechipping them (cost approx £ 70).
Err99 is a catch all error code. I would try cleaning the pins on the body / lens connection.
If new, take back to shop.
If used but bought from shop, take it back
If used but bought from private seller, you can ask them about it but its buyer beware.