Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, enabling users to perform a wide range of operations on various Dataiku DSS resources. Specifically for the Plugin resource and the Download File From Plugin operation, the node allows downloading a file from a specified plugin by providing the plugin ID and the relative path of the file within that plugin.

Common scenarios where this node is beneficial include:

  • Automating retrieval of plugin files for backup or analysis.
  • Integrating plugin file contents into workflows for further processing.
  • Managing plugin assets programmatically without manual intervention.

For example, you can use this node to download a configuration file or script stored inside a plugin to inspect or modify it as part of an automated pipeline.

Properties

Name Meaning
Plugin ID The unique identifier of the plugin from which the file will be downloaded.
Path The relative path within the plugin to the file that should be downloaded.

Output

The output contains the downloaded file in binary form under the binary.data field. This binary data represents the exact content of the requested file from the plugin.

If the file is successfully downloaded, the node outputs one item with a binary property named data, containing the file's content ready for downstream nodes to consume or save.

Dependencies

  • Requires valid credentials for the Dataiku DSS API, including the server URL and an API key.
  • The node makes HTTP requests to the Dataiku DSS instance's REST API endpoints.
  • Proper permissions on the Dataiku DSS instance are required to access plugin files.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing API credentials, ensure that the Dataiku DSS API credentials are configured correctly in n8n.
  • Required Parameters Missing: Errors like "Plugin ID is required" or "Path is required" indicate that these mandatory input properties were not provided. Make sure to fill them in.
  • File Not Found or Access Denied: If the file path does not exist in the plugin or the user lacks permission, the API may return an error. Verify the plugin ID and path correctness and user permissions.
  • Network or API Errors: Check connectivity to the Dataiku DSS server and validate the API key's validity and scope.

Links and References


This summary focuses on the Plugin resource and the Download File From Plugin operation as requested, based on static analysis of the provided source code and input properties.

Discussion