Actions28
Overview
This node integrates with the Dolibarr API to manage events within the Dolibarr system. Specifically, the Delete Event operation allows users to remove an event by its unique identifier. This is useful in scenarios where events are no longer relevant or were created in error and need to be cleaned up from the system.
Practical examples include:
- Automatically deleting outdated or canceled events from Dolibarr.
- Cleaning up test or temporary events during data synchronization workflows.
- Managing event lifecycle by removing entries based on external triggers or conditions.
Properties
Name | Meaning |
---|---|
Event ID | The unique numeric identifier of the event to delete. This property is required. |
Output
The node returns the full HTTP response from the Dolibarr API after attempting to delete the specified event. The output includes a json
field containing the API's response data, which typically confirms whether the deletion was successful or provides error details if it failed.
No binary data is output by this operation.
Dependencies
- Requires an active connection to a Dolibarr instance via its REST API.
- Needs an API authentication token or key configured in the node credentials to authorize requests.
- The base URL for the Dolibarr API must be set correctly in the node credentials.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Event ID will result in an error from the API indicating the event could not be found.
- Network connectivity problems or incorrect API base URL configuration can cause request failures.
- Insufficient permissions or invalid API credentials will lead to authorization errors.
Error messages and resolutions:
- 404 Not Found: The specified Event ID does not exist. Verify the ID is correct.
- 401 Unauthorized: Authentication failed. Check that the API key or token is valid and has necessary permissions.
- Network Errors: Ensure the Dolibarr server is reachable and the base URL is correct.
Links and References
- Dolibarr API Documentation (general reference for API endpoints)
- n8n documentation on creating custom nodes