Fixed parameter spelling error. Added better 500 detail.