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 Dataiku DSS resources directly from n8n workflows. Specifically, for the Project Deployer resource and the Delete Bundle operation, it allows users to delete a specific bundle within a published project on the Dataiku Project Deployer.

Common scenarios where this node is beneficial include automating project deployment management tasks such as deleting outdated or unwanted bundles in a CI/CD pipeline, cleaning up deployment artifacts, or managing project lifecycle programmatically.

Example use case: Automatically delete a specific bundle from a deployed project after a successful deployment of a new version, ensuring that only relevant bundles are retained.

Properties

Name Meaning
Project Key The unique identifier key of the project containing the bundle to be deleted.
Bundle ID The identifier of the bundle to delete within the specified project.

Output

The output of the node is a JSON array containing the response from the Dataiku DSS API after attempting to delete the specified bundle. Typically, for a delete operation, the response may be empty or contain status information confirming the deletion.

  • If the API returns data, it will be parsed and returned as JSON.
  • If the response is empty (e.g., HTTP 204 No Content), the node outputs an object indicating "204 No Content".
  • In case of binary data (not typical for delete), it would be returned as binary, but this operation does not produce binary output.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key) for authentication with 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 "Missing Dataiku DSS API Credentials," ensure that the API key credential is properly set up in n8n.
  • Required Parameter Errors: The node validates required parameters like Project Key and Bundle ID. If these are missing, errors such as "Project Key is required" or "Bundle ID is required" will be thrown. Provide these parameters correctly.
  • API Request Failures: Network issues, incorrect server URLs, or invalid API keys can cause request failures. Verify connectivity and credentials.
  • Unexpected Response Parsing Errors: If the API returns unexpected data formats, parsing might fail. Check the API response and ensure compatibility.

Links and References


This summary focuses on the Project Deployer resource and the Delete Bundle operation as requested, based on static analysis of the provided source code and property definitions.

Discussion