You need to find out why your state tax return was rejected, fix it, and resubmit.
If you suspect the problem with your state tax return may result in a need to also file an amended federal return, then you should wait to spend the federal tax refund until after you are sure what the state return problem is..