Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, allowing users to perform various operations on Dataiku DSS resources programmatically within n8n workflows. Specifically, for the Insight resource and the Update Insight operation, it enables updating an existing insight in a specified project by sending a JSON request body with the updated data.

Common scenarios where this node is beneficial include automating updates to insights as part of data pipelines, synchronizing insights with external systems, or managing insights dynamically based on workflow logic.

Example use case: Automatically update an insight's configuration or metadata after processing new data or upon completion of a model training job.

Properties

Name Meaning
Project Key The key identifier of the Dataiku DSS project containing the insight to update.
Insight ID The unique identifier of the insight to be updated.
Request Body A JSON object representing the updated content or configuration of the insight.

Output

The node outputs the response from the Dataiku DSS API after attempting to update the insight. The output is a JSON object reflecting the updated insight details or the API's confirmation message.

  • The output is available in the json field.
  • No binary data output is associated with this operation.

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 API credentials are not provided or invalid, the node will throw an error indicating missing credentials.
  • Required Parameter Errors: The node validates required parameters such as Project Key and Insight ID. Omitting these will cause errors specifying which parameter is missing.
  • API Request Failures: Network issues, incorrect API endpoint URLs, or insufficient permissions can cause API call failures. The node throws detailed error messages including the API error response.
  • Invalid JSON in Request Body: The Request Body must be valid JSON. Malformed JSON will cause parsing errors before the API call.
  • Insight Not Found: If the specified Insight ID does not exist in the given project, the API will return an error, which the node surfaces.

To resolve errors:

  • Ensure all required fields are correctly filled.
  • Verify API credentials and permissions.
  • Validate the JSON structure in the Request Body.
  • Check network connectivity to the Dataiku DSS server.

Links and References

Discussion