05-26-2025 05:05 AM
After the recent codec auto-update, we encountered an issue where the macro stopped working. Specifically, we were receiving the following error:
'module undefined'
This error effectively locked the entire macro, preventing any part of it from running. To get things working again, we had to comment out the following line and all other references to module:
// const localCallout = new GMM.Connect.Local(module.name.replace('./', ''))
Could you please investigate and confirm the root cause of this issue?
05-26-2025 05:28 AM
For anyone on the community to give you any help with this you'd need to provide a little more detailed information that that. To start with please share the entire macro as an attached file so we can look at the entire code.
Please note that this is a community that is served by none Cisco employees on their own free time. It's not the official support from Cisco. For that you should engage TAC.
05-26-2025 06:12 AM
Also review the Deprecation of legacy (CommonJS) Javascript syntax for RoomOS Macros heading of the Cisco Macro Scripting Tutorial. That may be causing or contributing to your issue.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide