Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

Pipeline API not working (BadRequest)

Hi, Im using the Pipeline POST API to attempt to assign pipeline execution to a Power Automate button that I'll eventually embed in PBI and provide a non technical end user with the ability to run pipeline jobs easily.  When testing the API call, Im unable to get a positive response.  Any ideas why this might be? Could it be license related? I'm currently on a trial

 

<errorCode>BadRequest</errorCode>
<message>Unable to process the operation due to an error in the request</message>
<requestId>31df8cd6-41aa-4286-8996-acba0f1fb5ba</requestId>
</TridentPublicApiErrorResponse>

 

This is the URL ive been using:

https://api.fabric.microsoft.com/v1/workspaces/{WORKSPACE_ID}/items/{PIPELINE_ID}/jobs/instances?jobType=Pipeline

6 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Anonymous - Thanks for your reply.  Yes I was able to complete the quick start guide, I was able to execute the sample C# program in the guide and get the desired response with no issues.  

       

      But using the original URL above still throws the same 400 Bad Request code error

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Anonymous ,

        Apologize for the issue you are facing. The best course of action is to open a support ticket and have our support team take a closer look at it.

         

        Please reach out to our support team so they can do a more thorough investigation on why this it is happening: Link 

         

        After creating a Support ticket please provide the ticket number as it would help us to track for more information.

         

        Hope this helps. Please let us know if you have any other queries.