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 Library resource and the Download File operation, it allows downloading files from the project library by specifying the project key and the file path within the library.

Common scenarios where this node is beneficial include:

  • Automating retrieval of library files stored in a Dataiku DSS project.
  • Integrating Dataiku DSS library content into workflows or pipelines.
  • Downloading scripts, datasets, or other assets managed in the DSS library for further processing.

Practical example:

  • A user wants to download a Python script stored in the library of a specific Dataiku DSS project to use it in an external automation pipeline.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku DSS project containing the library file.
Path The relative path of the file within the project's library to be downloaded.

Output

The output contains the downloaded file as binary data under the binary.data field. The binary data represents the actual content of the requested file from the Dataiku DSS library.

Example output structure (conceptual):

{
  "binary": {
    "data": {
      "data": "<base64 encoded file content>",
      "mimeType": "<file mime type>",
      "fileName": "<original file name>"
    }
  }
}

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key) for authenticating requests to the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing API credentials, ensure that the Dataiku DSS API credentials are properly set up in n8n.
  • Project Key or Path Missing: The node requires both the project key and the file path to be specified. Omitting either will cause an error.
  • File Not Found: If the specified path does not exist in the project library, the API will return an error. Verify the path correctness.
  • Network or Authentication Issues: Errors related to network connectivity or invalid API keys will prevent successful file download. Check network access and credential validity.
  • Unsupported Operation: Using an operation or resource combination not supported by the node will result in an error.

Links and References


This summary focuses on the Library resource and the Download File operation as requested, based on static analysis of the provided source code and property definitions.

Discussion