Dashboard content_management/rpc/get api

Hi, I have two spaces (default and viewer) and copied a dashboard from the default space to the viewer space. However, the charts are showing Not Found, and I noticed that the API (/viewer/api/content_management/rpc/get) is using an ID that I didn’t expect. How does this API determine which ID to use?

For example, in the default space, there's a visualization with the ID abc-123. After copying the visualization to the viewer space, it has the ID abcdef and the originId abc-123. However, the viewer dashboard chart is calling the API using abc-123 (the originId), not the new ID. I’m not sure why this happens or how the ID is determined, and the API is returning a 404 Not Found error.

  • elastic version: v8.12.1