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 Update Plugin Code Env operation, it allows updating the code environment associated with a plugin in Dataiku DSS.

Common scenarios where this node is beneficial include automating plugin management tasks such as creating, updating, or deleting plugins and their environments, managing plugin files, synchronizing with Git repositories, and handling plugin deployments programmatically within n8n workflows.

For the Update Plugin Code Env operation, a practical example would be updating the Python or R environment dependencies used by a specific plugin to ensure it runs with the correct packages and versions.

Properties

Name Meaning
Plugin ID The unique identifier of the plugin whose code environment you want to update.

Note: The provided input properties JSON only includes "Plugin ID" relevant to the Plugin resource operations including "Update Plugin Code Env".

Output

The node outputs an array of JSON objects representing the response from the Dataiku DSS API for the requested operation.

  • For the Update Plugin Code Env operation, the output JSON typically contains the status or details of the updated code environment.
  • If the operation involves downloading files (not applicable here), binary data would be returned.
  • In case of textual responses (e.g., logs), the output will contain a json field with the text or parsed JSON content.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials: specifically, a Dataiku DSS server URL and a user API key.
  • The node expects these credentials to be configured in n8n under a generic API authentication token credential (referred generically as "an API key credential").
  • No additional external libraries beyond those bundled (like form-data) are required.

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 per operation. For example, "Plugin ID is required" error means you must provide the plugin identifier.
  • HTTP Request Failures: Network issues or incorrect server URLs can cause request failures. Verify the Dataiku DSS server address and network connectivity.
  • API Permission Issues: Ensure the API key has sufficient permissions to update plugin code environments.
  • Unexpected Response Parsing: If the API returns non-JSON or unexpected content, the node attempts to parse it; failure may result in raw text output or errors.

Links and References


This summary focuses on the Plugin resource and the Update Plugin Code Env operation as requested, based on static analysis of the provided source code and input property definitions.

Discussion