You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
14-NOTIFICATION
0014-00000019
Copy page
Download PDF
0014-00000019
Problem description​
duplicate event notification rule name.​
Root cause​
duplicate event notification rule name within the same bucket.​
Example ​
duplicate event notification rule names across different rules. the example below contains two event notification rules, but both have the name "rule," causing duplication.​
​
PUT /?notification HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: GMT Date​
Authorization: authorization string​
{​
"CloudFunctionConfigurations": [​
{​
"Events": [​
"tos:ObjectRemoved:*"​
],​
"Filter": {​
"TOSKey": {​
"FilterRules": [​
{​
"Name": "prefix",​
"Value": "test_"​
},​
{​
"Name": "suffix",​
"Value": ".jpg"​
}​
]​
}​
},​
"RuleId": "rule",​
"CloudFunction": "string"​
},​
{​
"Events": [​
"tos:ObjectCreated:*"​
],​
"Filter": {​
"TOSKey": {​
"FilterRules": [​
{​
"Name": "prefix",​
"Value": "test_"​
},​
{​
"Name": "suffix",​
"Value": ".jpg"​
}​
]​
}​
},​
"RuleId": "rule",​
"CloudFunction": "string"​
}​
]​
}​
​
Solution​
Change to a new rule name or leave the rule name blank.​
tip​
if no rule name is set, the system will generate a random string by default.​
Last updated: 2026.10.08 17:20:28