I was trying to migrate a running process instance from its older version to an updated version using REST API call when I came across some errors. I would appreciate if anybody could help me with understanding the same.
In the request body, you have processInstanceQuery : {}. This is a query with no filters, i.e. all process instances are migrated. You can change that to processInstanceQuery : null and try again.