ADF Pipeline "Bad Request" Error when Debug run

Mathias Denzin 20 Reputation points
2025-01-01T01:13:31.68+00:00

Hi all,

I have a pipeline in ADF that is incrementally loading objects from Salesforce whose LastModifiedDate is between the last date in my sink (Fabric Warehouse) and the current runtime.

I want to do that in a single pipeline now with parameters. The pipeline will be called from another pipeline with different parameters for each object.

User's image

As soon as I debug run this pipeline, I get this error:

User's image

The other activities run successfully when I set a stop point before the "Copy data" activity. As soon as I remove the stop point, the whole pipeline does not start.

Does anyone have an idea or similar problems?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,072 questions
{count} votes

Accepted answer
  1. Chandra Boorla 6,130 Reputation points Microsoft Vendor
    2025-01-03T01:14:49.5366667+00:00

    @Mathias Denzin

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.

    Issue:

    I have a pipeline in ADF that is incrementally loading objects from Salesforce whose LastModifiedDate is between the last date in my sink (Fabric Warehouse) and the current runtime.

    I want to do that in a single pipeline now with parameters. The pipeline will be called from another pipeline with different parameters for each object.

    As soon as I debug run this pipeline, I get the error:

    The other activities run successfully when I set a stop point before the "Copy data" activity. As soon as I remove the stop point, the whole pipeline does not start.

    Solution:

    I encountered an issue with my sink dataset due to a default value that included a variable. Despite overwriting the default value in my pipeline, the problem persisted as long as the dataset retained the default value. After removing the default value from the dataset parameter, the issue was resolved, and everything is now functioning correctly.

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.