Update state in contact via api leads to an incorrect result

I want to update my contact with state “Montana” (United States) via API.
I did PATCH request api/contacts/batch/edit

But It was updated with state “Montana” (Bulgaria).
Is it possible to get the correct result via API (“Montana” (United States))?
Screenshot 2023-04-26 at 15.31.16

Make sure you are updating the country as well, not just the state.

first, i update state, then - country.
Is sequence important?

I thin its not important


Yes, not important, in the other order I got an incorrect result after update country and then state with PATCH request.

You can first sync the country and then state, maybe it will show correctly as you wanted.