{"record":{"id":"93ec513929127971","repo":"apache/dolphinscheduler","slug":"data-factory-start-task-error","errorCode":null,"errorMessage":"data factory start task error","messagePattern":"data factory start task error","errorType":"exception","errorClass":"TaskException","httpStatus":null,"severity":"error","filePath":"dolphinscheduler-task-plugin/dolphinscheduler-task-datafactory/src/main/java/org/apache/dolphinscheduler/plugin/task/datafactory/DatafactoryTask.java","lineNumber":69,"sourceCode":"        return Collections.emptyList();\n    }\n\n    @Override\n    public void init() {\n        parameters = JSONUtils.parseObject(taskExecutionContext.getTaskParams(), DatafactoryParameters.class);\n        log.info(\"Initialize Datafactory task params {}\", JSONUtils.toPrettyJsonString(parameters));\n        hook = new DatafactoryHook();\n    }\n\n    @Override\n    public void submitApplication() throws TaskException {\n        try {\n            // start task\n            exitStatusCode = startDatafactoryTask();\n            setExitStatusCode(exitStatusCode);\n        } catch (Exception e) {\n            setExitStatusCode(TaskConstants.EXIT_CODE_FAILURE);\n            throw new TaskException(\"data factory start task error\", e);\n        }\n        // set runId to the appIds if start success\n        setAppIds(parameters.getRunId());\n    }\n\n    @Override\n    public void cancelApplication() throws TaskException {\n        checkApplicationId();\n        hook.cancelDatafactoryTask(parameters);\n        exitStatusCode = TaskConstants.EXIT_CODE_KILL;\n    }\n\n    @Override\n    public void trackApplicationStatus() throws TaskException {\n        checkApplicationId();\n        Boolean isFinishedSuccessfully;\n        isFinishedSuccessfully = hook.queryStatus(parameters);\n        if (!isFinishedSuccessfully) {","sourceCodeStart":51,"sourceCodeEnd":87,"githubUrl":"https://github.com/apache/dolphinscheduler/blob/02eac45a1b6676e639fcbfb4be2243de5771b05d/dolphinscheduler-task-plugin/dolphinscheduler-task-datafactory/src/main/java/org/apache/dolphinscheduler/plugin/task/datafactory/DatafactoryTask.java#L51-L87","documentation":"A catch-all in DatafactoryTask.submitApplication: starting the Azure Data Factory pipeline via startDatafactoryTask() threw — invalid task parameters, missing/unauthorized Azure credentials, an unknown pipeline, or an SDK (SdkBaseException) failure. The task instance is marked failed; the caused-by exception carries the Azure error detail.","triggerScenarios":"Thrown at dolphinscheduler-task-plugin/dolphinscheduler-task-datafactory/src/main/java/org/apache/dolphinscheduler/plugin/task/datafactory/DatafactoryTask.java:69 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the caused-by Azure SDK exception for authentication (credentials/policy missing) vs pipeline-not-found errors","Verify the DataFactory task params: subscriptionId, factoryName, pipelineName, and parameter JSON are all set correctly","Confirm the task's Azure credentials are configured in the worker's security config","Retry after transient Azure throttling/outage errors"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"02eac45a1b6676e639fcbfb4be2243de5771b05d","analyzedAt":"2026-09-06T17:43:00.555Z","contentChangedAt":"2026-09-06T17:43:00.555Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}