Get your taxes done using TurboTax

There is no point is asking your employer for a corrected 2022 W-2 at this point in time.  That ship has sailed. That's because your employer long since deposited those withheld taxes with the respective states.  So your W-2 is correct as is; it shows what your employer actually did.

 

As @rjs said, if you moved during the year 2022, then for 2022 you would file as a part-year resident of each of the two states, entering your W-2 as is.

 

If instead you were living in and working only in New York as of January 1, 2022, you would do as @dmertz says: file a non-resident CA return allocating zero income to CA; and file a resident NY return.  Enter your W-2 as is for both states.

 

In either case CA will refund any excess taxes withheld.  You will have taxes due to NY.

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