Page() helper in api route causes "code:401,"exception":"Kirby\\Exception\\AuthException" error

everything is great until I try and get hold of a page via the page() helper (uuid incoming from the vue this.$api.post…) Why does this trip the “Kirby\Exception\AuthException” error and is there a way around it?

Kirby 5.5.2, using a custom panel plugin only available to users logged into the panel.

I think you will need to give us more context/code what your custom Panel plugin is doing to be able to follow from where the problem could arise.