Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Fabric community is now in read-only for platform upgrade. Learn more

Reply
12_shashank
New Member

Passing the Parameter while calling the Data Pipeline using REST API

Hello Readers,

I am trying to trigger the REST API to trigger an on-demand job on my datapipeline:
POST https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/dataPipelines/{pipelineId}/jobs/execute...

Body/Payload:

{
  "parameters": [
    {
      "name": "filed_based_run",
      "value": true,
      "type": "Boolean"
    },
    {
      "name": "fail_whole_load",
      "value": true,
      "type": "Boolean"
    },
    {
      "name": "config_file",
      "value": "on_demand",
      "type": "Text"
    }
  ]
}

Error:
Status Code: 403 Forbidden
Error Message:
{
    "requestId": "cc5e44f7-cda1-4adc-9e18-ef19513b15d5",
    "errorCode": "FeatureNotAvailable",
    "message": "Parameter is not allowed for this item type or this item job type",
    "isRetriable": false
}

My question : Why we can't pass the parameter while calling the datapipeline and is there another I can do this like using Power Automate or Logic apps?
 






1 REPLY 1
tayloramy
Super User
Super User

Hi @12_shashank

 

THe DataPipeline specific API doesn't mention anything about supporting parameters in the documentation, but the job scheduler API does. 

Job Scheduler - Run On Demand Item Job - REST API (Core) | Microsoft Learn

 

Try using the job scheduler API to trigger the data pipeline instead.  





If you found this helpful, consider giving some Kudos.
If I answered your question or solved your problem, mark this post as the solution!

Join the Fabric Discord!

Proud to be a Super User!





Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Fabric Update Carousel

Fabric Monthly Update - July 2026

Check out the July 2026 Fabric update to learn about new features.