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 Project resource and the Update Project Variables operation, it allows updating project-level variables (tags) within a specified project in Dataiku DSS.

Common scenarios where this node is beneficial include automating project configuration updates, managing environment-specific variables, or dynamically adjusting project settings as part of an automated workflow.

For example, you can use this node to programmatically update variables such as API keys, feature flags, or other configuration parameters in a Dataiku DSS project without manual intervention.

Properties

Name Meaning
Project Key The unique identifier key of the Dataiku DSS project where the variables will be updated.
Request Body A JSON object representing the variables to update in the project.

The Request Body property expects a JSON structure that defines the variables to be updated in the project. This should conform to the Dataiku DSS API's expected format for project variables.

Output

The node outputs the response from the Dataiku DSS API after attempting to update the project variables. The output is provided in the json field of the returned data and typically contains the updated project variables or confirmation of the update.

If the operation involves downloading files or binary content (not applicable for this operation), the node would output binary data accordingly, but for updating project variables, the output is JSON.

Dependencies

  • Requires valid Dataiku DSS API credentials, including:
    • The URL of the Dataiku DSS server.
    • An API authentication token (API key).
  • The node must be configured with these credentials in n8n before execution.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing credentials, ensure that the Dataiku DSS API credentials are properly set up in n8n.
  • Required Parameter Errors: The node validates required parameters such as the Project Key and the request body. Missing these will cause errors indicating which parameter is required.
  • API Errors: Errors returned by the Dataiku DSS API will be surfaced by the node. Check the error message for details and verify that the project key exists and that the API key has sufficient permissions.
  • Invalid JSON in Request Body: Ensure that the JSON provided in the Request Body property is well-formed and matches the expected schema for project variables.

Links and References


Note: This summary focuses on the "Project" resource and the "Update Project Variables" operation as requested. The node supports many other resources and operations not covered here.

Discussion