dashboard.navigate "Unknown link" error between two CLI dashboard pages

I have a Wix CLI app (@wix/astro) with two dashboard pages registered in extensions.ts. When I call dashboard.navigate({ pageId: ‘c7a823f1-4d91-4e2b-a301-9fbc7e123456’ }) from page 1 to navigate to page 2, I get “Unknown link” error. The pageId matches the id in categories.extension.ts exactly. Is the pageId supposed to be the extension id or something else? Does this only work after release?