Welcome to the Alteryx Knowledge Base

Could not find macro 'XXX.yxmc' when opening or running workflow in Designer or Server
user

Created/Edited - 5/25/2026 by Michael Cordeiro | Alteryx

Description

A workflow fails to open or run because Alteryx cannot locate a required macro file referenced by the workflow:
Could not find macro 'XXX.yxmc'

Issue

When opening or running a workflow in Alteryx Designer or Server, the following error appears:

Could not find macro 'XXX.yxmc'
 

Environment
  • Alteryx Designer
  • Alteryx Server
  • All supported versions 
Cause

This error occurs when Designer or Server cannot locate a macro referenced by the workflow.

Common causes include:

  • The macro file was moved or deleted
  • The workflow was shared without dependencies
  • The macro exists on a network drive that is unavailable
  • Macro repository paths differ between machines
  • Permissions prevent access to the macro location
  • Nested macros were not included when publishing to Server
  • The workflow references a relative macro that resolves differently on another machine

 

Resolution

Try the following steps:

1. Confirm the macro exists at the referenced file path and that the path is accessible from the machine running the workflow.

2. If the workflow was shared, request a packaged workflow with dependencies included
File → Export Workflow

3. Confirm the macro search path is configured correctly
Options → User Settings → Edit User Settings → Macros

4. If using a network drive, confirm the drive is available and accessible

5. If publishing to Server, confirm the macro exists in the Server Macro Repository

6. If using nested macros, ensure all dependencies are included when publishing workflows to Server

7. If the workflow was downloaded from server or another user, re-export the workflow using  File > Export Workflow to include all macro dependencies. 

Additional Information
When sharing workflows that include macros, packaging the workflow with dependencies helps to ensure all required macro files are included. 
Was this article helpful?