My state return says that I am not eligible for electronic filing, how can I fix it?

How do I check if I have made an error that causes this to happen?