Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, allowing users to perform a wide range of operations on various Dataiku DSS resources. Specifically for the "Scenario" resource and the "Update Scenario Settings" operation, it enables updating the settings of an existing scenario within a specified project.

Common scenarios where this node is beneficial include automating scenario management tasks such as updating configuration or parameters of scenarios programmatically, integrating scenario updates into larger workflows, or managing multiple scenarios across projects without manual intervention.

For example, a user can update the settings of a scenario to change its execution parameters or enable/disable triggers as part of an automated deployment pipeline.

Properties

Name Meaning
Project Key The unique key identifying the Dataiku project containing the scenario.
Scenario ID The identifier of the scenario whose settings are to be updated.
Request Body A JSON object representing the new settings to apply to the scenario.

Output

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

If the API returns binary data (not typical for this operation), it would be provided as binary output, but for updating scenario settings, the output is expected to be JSON.

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: If the API credentials are not set or invalid, the node will throw an error indicating missing credentials.
  • Required Parameters Missing: The node validates required parameters like Project Key and Scenario ID. Omitting these will cause errors.
  • API Errors: Errors returned by the Dataiku DSS API (e.g., invalid scenario ID, insufficient permissions) will be surfaced as node errors with descriptive messages.
  • Invalid JSON in Request Body: The request body must be valid JSON; otherwise, parsing errors may occur.
  • Network Issues: Connectivity problems to the Dataiku DSS server will result in request failures.

To resolve issues:

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

Links and References

Discussion