ADF Pipeline Error:
ADF Pipeline Error 2306
What does this error mean?
Invalid JSON provided for an HDInsight on-demand script action — pipeline cannot parse the script action configuration.
Common causes
- 1Malformed or syntactically invalid JSON in the script action configuration
- 2Missing or misnamed required fields in the script action JSON (name, URI, parameters)
- 3Incorrect escaping of quotes, backslashes or special characters in script action parameters
- 4Outdated or corrupted HDInsight on-demand linked service definition referencing the script action
How to fix it
- 1Open the HDInsight on-demand linked service and locate the failing script action by the name shown in the error.
- 2Validate the script action JSON in a JSON linter and correct any syntax errors (commas, quotes, brackets).
- 3Verify required fields (name, URI, parameters, roles) are present and correctly formatted per the HDInsight on-demand linked service spec.
- 4Save and republish the linked service, then re-run the pipeline to confirm the script action parses correctly.
Frequently asked questions
Source · learn.microsoft.com/en-us/azure/data-factory/data-factory-troubleshoot-guide#error-code-2306