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 Save Project Settings operation, it allows saving or updating the settings of a published project in the Dataiku Project Deployer.

Common scenarios where this node is beneficial include automating project deployment configurations, managing project lifecycle settings programmatically, and integrating Dataiku project management into broader automation pipelines.

For example, you can automate updating deployment settings after a successful model training run or synchronize project settings across multiple environments without manual intervention.

Properties

Name Meaning
Project Key The unique identifier key of the Dataiku project whose deployer settings you want to save.
Request Body A JSON object containing the settings data to be saved for the project in the deployer.

These properties are used to specify which project’s settings to update and what new settings to apply.

Output

The node outputs the response from the Dataiku DSS API call as JSON in the json field of the output item array.

  • If the API returns JSON data, it is parsed and returned as structured JSON.
  • If the API returns binary data (not typical for this operation), it would be returned as binary data prepared by the node.
  • In case of no content (HTTP 204), it returns an object indicating "204 No Content".
  • For this specific operation (Save Project Settings), the output will typically be a confirmation or the updated project settings JSON.

Dependencies

  • Requires a valid connection to a Dataiku DSS instance.
  • Requires an API key credential for authenticating with the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.
  • No additional external dependencies beyond the standard n8n environment and the Dataiku DSS API.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing credentials, ensure that the Dataiku DSS API credentials (server URL and API key) are properly set up in n8n.
  • Required Parameter Errors: The node validates required parameters such as Project Key and request body. Missing these will cause errors like "Project Key is required". Make sure all mandatory fields are provided.
  • API Call Failures: Network issues, incorrect API keys, or insufficient permissions on the Dataiku DSS side may cause API call failures. Check the API key permissions and network connectivity.
  • Invalid JSON in Request Body: The request body must be valid JSON. Invalid JSON will cause parsing errors before sending the request.
  • Unexpected Response Format: If the API returns unexpected data, the node attempts to parse it as JSON; if parsing fails, it returns raw text. This might indicate an issue with the API or the request.

Links and References


This summary focuses on the Project Deployer resource and the Save Project Settings operation, describing how the node constructs the API request, handles authentication, and processes the response accordingly.

Discussion