How to use AP.confluence.saveMacro within a non custom dynamic content macro?

I try to use AP.confluence.saveMacro or setContentProperty within the normal dynamic content macro editor.

AP.confluence.saveMacro(
    { url: 'https://google.com', foo: 'bar' },
    ''
);

and later …

AP.confluence.getMacroData(function (data) {
    console.log({ data });
});

data is returned correctly, but after save and reopen the editor, it is gone.
I get an error message on the console:

Is it possible to use this function within a non conent macro with standard editor?

When you save the page and then re-open. Does it show the properties / values?
Might be something related to this - [CONFCLOUD-62749] confluence.saveMacro is not working on the new live macro - Create and track feature requests for Atlassian products.

I dont think it was ever completely fixed :frowning: