Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API to perform various operations on Dataiku resources. Specifically, for the Recipe resource and the Delete Recipe operation, it allows users to delete a recipe by specifying the project key and the recipe name. This is useful in scenarios where you want to automate the cleanup or management of recipes within a Dataiku project, such as removing obsolete or unwanted recipes programmatically.

Practical example:

  • Automatically deleting a recipe after its associated data pipeline has been deprecated.
  • Cleaning up test recipes created during development phases.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku project containing the recipe to delete.
Recipe Name The name of the recipe to be deleted within the specified project.

Output

The output of this operation is a JSON object representing the response from the Dataiku DSS API after attempting to delete the specified recipe. Typically, for a delete operation, the response might be empty or contain status information confirming the deletion.

  • If the deletion is successful, the node outputs a JSON array with an object indicating success or no content (e.g., HTTP 204 No Content).
  • If there is an error, the node throws an error with details about the failure.

No binary data output is expected for this operation.

Dependencies

  • Requires an active connection to a Dataiku DSS instance via an API key credential.
  • The node expects the user to provide valid credentials including the DSS server address and a user API key.
  • The node uses HTTP requests to communicate with the Dataiku DSS REST API.

Troubleshooting

  • Missing Credentials Error: If the API credentials are not provided or invalid, the node will throw an error "Missing Dataiku DSS API Credentials". Ensure that the API key and server URL are correctly configured in n8n credentials.
  • Required Parameters Missing: The node validates required parameters like Project Key and Recipe Name. If these are missing, errors such as "Project Key is required" or "Recipe Name is required" will be thrown. Provide all mandatory inputs.
  • API Errors: If the Dataiku DSS API returns an error (e.g., recipe not found, permission denied), the node will throw an error with the message from the API. Check that the project and recipe exist and that the API key has sufficient permissions.
  • Network Issues: Connectivity problems to the DSS server will cause request failures. Verify network access and server availability.

Links and References


This summary focuses on the Recipe resource's Delete Recipe operation as requested, based on static analysis of the provided source code and property definitions.

Discussion