Forum Discussion
NuwanAthukorala
10 months agoAdvocate II
Notebook parameters not passing through RunNotebook API call in Microsoft Fabric
Hi everyone, I’m trying to trigger a Fabric notebook programmatically using the RunNotebook API, but it looks like the parameters I’m sending aren’t being passed into the notebook runtime. The note...
- 9 months ago
I'm not sure specifically about the API, but do you have a parameter cell in your notebook?
- 9 months ago
Hi,
I tried this API using Postman successfully. The main differences with yours are the request body that shows below. And also according to the doc https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-public-api#run-a-notebook-on-demand , the status code is 202.
{ "executionData": { "parameters": { "p_a": { "value": "I sent it 321", "type": "string" } } } }
DaleT
9 months agoResolver II
Hi,
I tried this API using Postman successfully. The main differences with yours are the request body that shows below. And also according to the doc https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-public-api#run-a-notebook-on-demand , the status code is 202.
{
"executionData": {
"parameters": {
"p_a": {
"value": "I sent it 321",
"type": "string"
}
}
}
}