Api error when moving menu item

We have currently a weird behavior when carrying out the following task:

  • we create a new model using the api
  • we create a the menu item associated with it
  • we move the new created menu item to a parent item

At this point we follow the usual migration process and automatically generate the migration. All good so far

Now when we try to run the migration we get the following error:

This is cause because the generated migration cannot find the menu item that is supposed to move

Any help would be appreciated :slight_smile:

Hello @technology sorry for the delay on this, but we fixed this issue on a recent release of the datocms/cli so if you update your cli to v1.1.10 and re-generate the migration the issue should no longer be there

Thank you so much for the feedback! And sorry once again for the dealy on this