Solution
This error occurs due to one of the following conditions:
- The file_ids parameter is not properly defined in the Notebook's Cell Metadata.
- The Notebook's Cell Metadata was not saved.
- The Notebook has not been published since it was last modified.
Note: If you are encountering similar issues in other interfaces besides File Analysis, refer to the Additional Information section.
To resolve this error, follow the steps below:
- In the SystemLink Enterprise (SLE) web UI, select the Automation >> Scripts tab and open your Jupyter Notebook.
- Ensure that you have one code cell (usually near the top of the Notebook) that defines your expected input parameters.
- For the SLE File Analysis interface, an input named file_ids that is an empty list of strings is required.

- While this cell is selected, click the cog icon on the right-hand side of the page to open the Property Inspector window.
- Expand the ADVANCED TOOLS section.
- Verify that the Cell Metadata correctly defines the file_ids input parameter with a default value, display_name, type and id.
- If correct, the Cell Metadata should resemble the below image:

-
- For ease, the full Cell Metadata can be copied from below:
{
"editable": true,
"papermill": {
"parameters": {
"file_ids": []
}
},
"slideshow": {
"slide_type": ""
},
"systemlink": {
"namespaces": [],
"parameters": [
{
"display_name": "file_ids",
"id": "file_ids",
"type": "string[]"
}
],
"version": 2
},
"tags": [
"parameters"
]
}
- Ensure that you click the tick icon to save the Cell Metadata. Without this, the changes will not be propagated to the Notebook.
- If the tick icon is not visible, this indicates that there is a syntax error in the Cell Metadata. Review the contents carefully and ensure that they resemble the JSON string above.

- Save the Notebook by clicking File >> Save Notebook.
- Publish the Notebook by right-clicking the .ipynb file and selecting Publish to SystemLink.

- Ensure that the publish settings are configured as follows, and then click Publish to SystemLink:
- Workspace should be set to whichever Workspace your end-user has access to.
- Interface should be set to File Analysis.

- Now, re-attempt the file analysis from the web UI. The file_ids parameter should appear and be auto-populated.
