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 Managed Folder resource and the Delete File From Managed Folder operation, the node allows deleting a file located at a specified relative path within a managed folder in a given project.

Typical use cases include automating the cleanup or management of files stored in managed folders within Dataiku projects. For example, you might want to programmatically delete outdated or temporary files from a managed folder as part of a data pipeline or maintenance workflow.

Properties

Name Meaning
Project Key The key identifier of the Dataiku project containing the managed folder.
Folder ID The unique identifier of the managed folder from which the file will be deleted.
Path The relative path of the file inside the managed folder to delete.

These properties are required to specify exactly which file in which managed folder and project should be deleted.

Output

The output of this operation is a JSON object representing the response from the Dataiku DSS API after attempting to delete the specified file. Typically, this will confirm successful deletion or provide error details if the operation failed.

  • If the deletion is successful, the output JSON may be empty or contain status information.
  • If an error occurs, the node throws an error with details about the failure.
  • This operation does not produce binary data output.

Example output (success):

{
  "status": "File deleted successfully"
}

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.
  • No additional external dependencies beyond the Dataiku DSS API and n8n's HTTP request capabilities.

Troubleshooting

  • Missing Credentials Error: If the node reports missing API credentials, ensure that the Dataiku DSS API credentials are properly set up in n8n.
  • Required Parameter Errors: The node validates required parameters such as Project Key, Folder ID, and Path. Missing any of these will cause an error. Double-check that all required fields are provided.
  • File Not Found or Access Denied: If the file path does not exist or the API user lacks permissions, the API will return an error. Verify the file path and user permissions in Dataiku DSS.
  • Network or Server Errors: Connection issues or server errors will result in exceptions. Check network connectivity and Dataiku DSS server status.
  • API Endpoint Changes: If the Dataiku DSS API changes, the node might fail. Ensure compatibility with your Dataiku DSS version.

Links and References


This summary focuses on the Managed Folder resource and the Delete File From Managed Folder operation as requested.

Discussion