Error Encountered: Cannot Read Properties of Undefined (Reading 'map') When Running the Deploy and FixedKey Commands #1933
Replies: 1 comment
-
lets track that under the bug ticket because even if this is instance / BU specific and doesn't happen for others, the solution should be made more reliable to handle it gracefully. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello MC Dev Team,
I’m new to both your tool and Salesforce Marketing Cloud, and I would greatly appreciate your help with the issue I’m encountering.
Goal
My goal is to deploy changes to an SQL query file and the content of an automation verification step to Marketing Cloud by running the
deploy
command, as well as thefixedKeys
command for queries and DataExtensions as the files are named using external keys. However, I have been unable to successfully execute these commands. Below is an image of the error I encountered:Note: A similar error was displayed during different command processes.
Issue
The problem seems to be related to DataExtensions and specifically subtypes such as:
Whenever I run commands that involve processing or caching these subtypes (e.g., mcdev deploy or mcdev fixedKeys), the process fails. This issue occurs for resources such as:
Could you please advise on how to resolve this issue? Specifically:
Details
dataExtension
andquery
, from my Marketing Cloud instance to local folder using the command:I've noticed encountered this error in the log:
Interestingly, if I run the command specifically for DataExtensions or query, it retrieves those resource successfully without errors, even the caching step is went through, no error log was displayed:
deploy command:
fixKey command:
Same error was displayed: error: mcdev.deploy failed: Cannot read properties of undefined (reading 'map')
Beta Was this translation helpful? Give feedback.
All reactions