OpenProject icon

OpenProject

Consume OpenProject API

Overview

This node interacts with the OpenProject API to manage various resources, including categories. Specifically, for the Category - Delete operation, it deletes a category resource identified by its ID. This is useful in project management workflows where you need to programmatically remove obsolete or incorrect categories from your OpenProject instance.

Practical examples:

  • Automatically clean up unused categories after archiving projects.
  • Remove categories that were created by mistake during data import processes.

Properties

Name Meaning
Category ID The unique identifier of the category to delete

Output

The output JSON contains the response from the OpenProject API after attempting to delete the specified category. Typically, this will be an empty object or confirmation message indicating successful deletion. If the deletion fails, the output may contain error details.

No binary data is produced by this node.

Dependencies

  • Requires an active connection to an OpenProject instance via its REST API.
  • Needs an API key credential configured in n8n for authentication.
  • The base URL of the OpenProject API and the API key must be provided in the node credentials.

Troubleshooting

  • Common issues:

    • Invalid or missing Category ID: Ensure the Category ID is correct and exists in OpenProject.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network or connectivity problems: Confirm that the OpenProject server is reachable from n8n.
  • Error messages:

    • OpenProject error response: <message>: Indicates an error returned by the OpenProject API, such as "Category not found" or permission denied. Check the message for specifics.
    • Other generic errors usually relate to HTTP request failures or misconfiguration.

To resolve errors, verify input parameters, credentials, and network access.

Links and References

Discussion