An error has occurred while execute Macros script
Do you want to request a feature or report a bug? bug
What is the current behavior?
I'm on the 7.2.0.152 docker image(docker pull onlyoffice/4testing-documentserver:7.2.0.152)
execute Macros script, I get the following error

1、through (build_tools) script install DocumentServer 7.1.1, 2、download (sdkjs-7.2.0.151.tar.gz、server-7.2.0.151.tar.gz、web-apps-7.2.0.151.tar.gz), replace (sdkjs、server、web-apps) folders , insert Tables, execute Macros script, I get the following error

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?
1、through (build_tools) script install DocumentServer 7.1.1,
2、download (sdkjs-7.2.0.151.tar.gz、server-7.2.0.151.tar.gz、web-apps-7.2.0.151.tar.gz), replace (sdkjs、server、web-apps) folders , execute Macros script, display like follow


Did this work in previous versions of DocumentServer?
DocumentServer version: 7.2.0.152 7.1.1 Operating System: Ubuntu
Browser version: Chrome Version 104.0.5112.81
Hi, is there any particular reason why you've used v7.2.0? Its in development stage and may contain any number of error
Could you share you macros in text form, not on screenshot
Hi, is there any particular reason why you've used v7.2.0? Its in development stage and may contain any number of error
Could you share you macros in text form, not on screenshot
i want to use the new API, through macros script import、export、create、copy Presentation
var p = Api.GetPresentation();
var json = p.ToJSON();
Api.FromJSON(json);
@larrychen8276 thanks for the issue. Created a bug #58616 in our private tracker