Actions11
Overview
The node provides functionality to create a new bucket in a MinIO or compatible object storage service. This operation is useful when you want to organize and store objects (files) by grouping them into buckets. Common scenarios include setting up new storage containers for different projects, clients, or data types within your object storage environment.
For example, you might use this node to programmatically create a bucket named "project-data" before uploading files related to that project.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | The name of the bucket to create. You can select an existing bucket from a list or specify the bucket name as a string. |
- The "Bucket Name" property supports two modes:
- From List: Select a bucket name from a dynamically retrieved list of all buckets.
- ID: Enter the bucket name manually as a string.
Output
The node outputs JSON data representing the result of the bucket creation operation. Typically, this includes confirmation details such as the bucket name and status of the creation request.
If the node supports binary data output, it would relate to any files or objects handled, but since this operation is about bucket creation, no binary output is expected.
Dependencies
- Requires connection to a MinIO-compatible object storage service.
- Needs appropriate API credentials or authentication tokens configured in n8n to authorize bucket creation operations.
- The node depends on internal methods for executing the operation, testing credentials, and searching lists of buckets.
Troubleshooting
Common Issues:
- Attempting to create a bucket with a name that already exists may cause an error.
- Insufficient permissions or invalid credentials will prevent bucket creation.
- Network connectivity issues to the MinIO server can cause timeouts or failures.
Error Messages:
- Errors indicating "bucket already exists" suggest choosing a unique bucket name.
- Authentication errors imply checking and updating the API key or token.
- Connection errors require verifying the endpoint URL and network access.