State tax filing

To add to @RaifH's answer: 

In order to obtain a refund of the incorrectly withheld CA taxes (assuming you never worked within CA), you must file a non-resident CA tax return, on which you show the CA withholdings but allocate zero income to CA.

**Answers are correct to the best of my ability but do not constitute tax or legal advice.