Whenever I open Monitor from the Advanced Tools Section of PowerApps Designer:

I get the error ("Failed to retrieve published app URL. Please try again by reloading Monitor.") and the incorrect code set is loaded for monitoring, I have refreshed multiple times and still the same issue occurs.

It works fine when using monitoring outside of edit mode, but thats not great as it only works on the Published version.

This used to work fine for me, and it happens in all the Canvas apps I have tested, I have tried rolling back authoring versions but no joy.
I see someone else had the same issue here -> Re: Powerapps questionaire with form attachment co... - Power Platform Community (microsoft.com)
Is there anything I can do to fix this?