Synapse Analytics Pipeline Failed to Run with TypeError

ease in the cloud 1 Reputation point
2022-07-04T18:42:00.107+00:00

I get the following error when trying to run a pipeline I previously ran successfully. I tried the disconnecting of the GitHub repo step with no success. I have another pipeline in the same workspace that runs fine. The one I'm having issues with is using a ForEach activity. If I put a breakpoint before the foreach, it will run.

Looking around the forums, similar issues usually lead to a bug reported to the MS team against Synapse Analytics.

{"stack":"Error: TypeError: Cannot read properties of undefined (reading 'name')\n at A.<anonymous> (https://web.azuresynapse.net/main.19855948db22efed.js:1:10317613)\n at Generator.throw (<anonymous>)\n at W (https://web.azuresynapse.net/main.19855948db22efed.js:1:12111835)\n at H.invoke (https://web.azuresynapse.net/polyfills.ba82112f77221c73.js:1:124629)\n at Object.onInvoke (https://web.azuresynapse.net/main.19855948db22efed.js:1:12443982)\n at H.invoke (https://web.azuresynapse.net/polyfills.ba82112f77221c73.js:1:124567)\n at Ae.run (https://web.azuresynapse.net/polyfills.ba82112f77221c73.js:1:119906)\n at https://web.azuresynapse.net/polyfills.ba82112f77221c73.js:1:134995\n at H.invokeTask (https://web.azuresynapse.net/polyfills.ba82112f77221c73.js:1:125251)\n at Object.onInvokeTask (https://web.azuresynapse.net/main.19855948db22efed.js:1:12443785)\n at H.invokeTask (https://web.azuresynapse.net/polyfills.ba82112f77221c73.js:1:125171)\n at Ae.runTask (https://web.azuresynapse.net/polyfills.ba82112f77221c73.js:1:120552)\n at Be (https://web.azuresynapse.net/polyfills.ba82112f77221c73.js:1:127299)\n at Y.invokeTask [as invoke] (https://web.azuresynapse.net/polyfills.ba82112f77221c73.js:1:126348)\n at V (https://web.azuresynapse.net/polyfills.ba82112f77221c73.js:1:138551)\n at HTMLButtonElement.Ie (https://web.azuresynapse.net/polyfills.ba82112f77221c73.js:1:138816)","message":"TypeError: Cannot read properties of undefined (reading 'name')"}

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,171 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ease in the cloud 1 Reputation point
    2022-07-04T19:38:36.11+00:00

    After debugging step-by-step in the ForEach activity, I narrowed it to a DataFlow Activity that used a Data Flowlet. I had to add some sample input data in the Debug Settings to get rid of the error. I don't understand why that was necessary when it worked before though.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.