Retirement tax questions

I was able to place $18500 post-tax dollars into a 403b and another $18500 post tax into a 457b. I thought that it would be okay because I was allowed to do it through my employer retirement set up but when I am filing my taxes on turbotax it says I will be penalized