NYC-1127 and double taxation ??

I am a RI resident working for a company based in NYC. Started there in Dec 2021 but working remote from RI. I do not go to NYC. 

I am finding out about a NYC-1127 payment  that I need to make and is 1/2 of the Gross earnings that I made with the company in NYC in Dec 2021. I had no withholding for NYC 1127 the whiole 2021 year. TT tells me I have a small refund on NY state tax bu  owe the Disability non resident tax with a NY200v voucher

 

90% of my total income was made in RI up to December and 10% with the company in NY.

 

Is this correct? I am already taxed and had my tax withheld on my income in RI so it seems I am taxed in both state? That cannot be. What do I need to do?