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 Upload File operation, it allows uploading files to the project library in Dataiku DSS.

Common scenarios where this node is beneficial include automating file management within Dataiku projects, such as programmatically uploading scripts, datasets, or other resources into the project library during data workflows or CI/CD pipelines.

For example, you can use this node to upload a Python script or a JAR file into a specific folder in the Dataiku project library, facilitating automated deployment or version control of code assets.

Properties

Name Meaning
Project Key The unique key identifying the Dataiku project where the file will be uploaded.
Path The relative path within the project library where the file should be uploaded.

These properties are required to specify the target location for the file upload within the Dataiku DSS environment.

Output

The node outputs an array of JSON objects representing the response from the Dataiku DSS API after attempting the file upload. The exact structure depends on the API response but typically includes metadata about the uploaded file or confirmation of success.

If the operation involves binary data (such as uploading a file), the node handles the binary content appropriately, but for the Upload File operation, the output is primarily JSON confirming the upload status.

Dependencies

  • Requires valid Dataiku DSS API credentials, including:
    • The URL or address of the Dataiku DSS server.
    • An API key or token for authentication.
  • The node uses HTTP requests to communicate with the Dataiku DSS REST API.
  • No additional external services are required beyond access to the Dataiku DSS instance.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing credentials, ensure that the Dataiku DSS API credentials are properly configured in n8n.
  • Project Key or Path Missing: The node requires both the project key and the path to be specified for the upload operation. Omitting these will cause errors.
  • API Errors: Errors returned by the Dataiku DSS API (e.g., permission denied, invalid path) will be surfaced by the node. Check the API response message for details.
  • File Not Found: Ensure the file to upload is correctly referenced in the node's input if using binary data.
  • Network Issues: Connectivity problems between n8n and the Dataiku DSS server can cause request failures.

Links and References


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

Discussion