I work remotely from NY for a hospital in MD. The hospital withholds MD taxes on my NY source income. Is this considered "withheld in error"?

I did speak to HR about this, but they say they can't withold NY taxes, because they aren't filed as a NY business and it's not cost effective to do so for 1 employee.