I hope you are setting the State Value and not Tex...
# suitescript
n
I hope you are setting the State Value and not Text. E.g. if your country is set to US, then the state needs to set something like 'AK' for Alaska. Check what is the value of shipZip variable.