Hello Rich-EA,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
Problem
I understand that you are having spark job failed with error code 400 during updating projection in ADF Data flow.
Solution
The error you're encountering suggests a problem with the data flow execution, specifically with the interaction between the DataFlowManagerClient and the payload retrieval. The 400 status code indicates a bad request error. You will need to check through the followings:
Ensure that the Azure SQL Server dataset configuration is correct. Especially, Connection strings
Authentication details, and Schema and table names.
Inspect the data flow where the error occurs, verify that all transformations and projections are correctly configured and check for any recent changes that might have introduced the error.
Projection issues can sometimes be due to mismatched schemas. So, ensure that the schema of your source dataset matches the expected schema in the data flow, and all columns are correctly mapped and there are no missing or extra columns.
Since you mentioned that testing the connection outside of the debug session works fine, try previewing the data directly within the data flow to ensure the connection and data retrieval are functioning as expected by using the "Data Preview" feature to validate the dataset within the data flow.
Lasty, check your debug setting and validate the integration runtime used in debug mode also, ensure the necessary resources are allocated for the debug session.
References
For more reading and steps to resolve the issue, kindly use the following links as listed in the additional resources:
- Troubleshoot mapping data flows - Azure Data Factory
- Troubleshoot connector and format issues in mapping data flows - Azure Data Factory
- General troubleshooting - Microsoft Fabric
- Troubleshoot pipeline orchestration and triggers in Azure Data Factory - Azure Data Factory
- General Troubleshooting - Azure Data Factory & Azure Synapse
Accept Answer
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful ** so that others in the community facing similar issues can easily find the solution.
Best Regards,
Sina Salam