@@migrate_to_volto failing on intids (zope.intid.interfaces.IntIdMissingError)

I'm using migrate_to_volto but getting intid errors like this:

backend_1   | 2024-08-19 13:14:43 ERROR [Zope.SiteErrorLog:36][waitress-0] IntIdMissingError: http://127.0.0.1:32138/Plone/@@migrate_to_volto
backend_1   | Traceback (innermost last):
backend_1   |   Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents
backend_1   |   Module ZPublisher.WSGIPublisher, line 391, in publish_module
backend_1   |   Module ZPublisher.WSGIPublisher, line 285, in publish
backend_1   |   Module ZPublisher.mapply, line 98, in mapply
backend_1   |   Module ZPublisher.WSGIPublisher, line 68, in call_object
backend_1   |   Module plone.volto.browser.migrate_to_volto, line 59, in call
backend_1   |   Module plone.volto.browser.migrate_to_volto, line 108, in do_migrate_folders
backend_1   |   Module plone.volto.browser.migrate_to_volto, line 322, in make_document
backend_1   |   Module plone.volto.browser.migrate_to_volto, line 354, in export_relations
backend_1   |   Module decorator, line 232, in fun
backend_1   |   Module plone.api.validation, line 149, in wrapped
backend_1   |   Module plone.api.relation, line 107, in get
backend_1   |   Module five.intid.intid, line 44, in getId
backend_1   |   Module zope.intid, line 117, in getId
backend_1   | zope.intid.interfaces.IntIdMissingError: <Folder at /Plone/calendar>

I tried rebuilding the catalog but the errors persist.
any suggests for next troubleshooting steps?

Found this suggestion

It mentions @@rebuild-relations so I'm trying that out now.

That fixed it :fire:
After doing a Flush and rebuild IntIds I was able to run the @@migrate_to_volto without errors.