Forum Discussion
Error Code 011 - Unable to deserialize the response.
- Anonymous1 year ago
I think the problem is - the dynamic expression is unable to resolve the given expressions while invoking the notebook activity. I am not sure if this resolves the issue.
I have done below to get a workaround it.
Instead of selecting different notebook in different workspace, I have made the notebook to accept the environment specific values as parameters. This way, I can use same notebook across different environments.
Hi Anonymous , thank you for reaching out to the Microsoft Fabric Community Forum.
The pipeline is unable to resolve the dynamic expressions for Workspace ID and Notebook ID correctly, likely due to incorrect parameterization or syntax issues.
Please consider below steps:
- Create two pipeline parameters: WorkspaceID (type: String) and NotebookID (type: String).
- In the Notebook activity configuration, use dynamic expressions to reference the parameters: Workspace ID: @pipeline().parameters.WorkspaceID, Notebook ID: @pipeline().parameters.NotebookID.
- When deploying the pipeline to different environments pass the appropriate values for WorkspaceID and NotebookID dynamically.
- Verify that the pipeline has the necessary permissions to access the specified workspace and notebook.
- Test the pipeline in a sandbox environment before deploying to production.
If this helps, please consider marking it 'Accept as Solution' so others with similar queries may find it more easily. If not, please share the details.
Thank you.
I think the problem is - the dynamic expression is unable to resolve the given expressions while invoking the notebook activity. I am not sure if this resolves the issue.
I have done below to get a workaround it.
Instead of selecting different notebook in different workspace, I have made the notebook to accept the environment specific values as parameters. This way, I can use same notebook across different environments.