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

Torch Object Storage

Copy page
Download PDF
14-NOTIFICATION
0014-00000020
Copy page
Download PDF
0014-00000020
Problem description​
The event notification rule's FilterRule is invalid.​
Root cause​
The FilterRules set when creating the event notification rule are invalid. For example:​
  • The number of rules exceeds 2.​
  • The rule Name is not equal to prefix or suffix.​
  • The elements in FilterRules contain the same type of element, such as two prefix or two suffix.​
Example​
The following example contains two prefix entries, causing failure.​
​
PUT /?notification HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: GMT Date​
Authorization: authorization string​
{​
"CloudFunctionConfigurations": [​
{​
"Events": [​
"tos:ObjectCreated:*",​
"tos:ObjectRemoved:*"​
],​
"Filter": {​
"TOSKey": {​
"FilterRules": [​
{​
"Name": "prefix",​
"Value": "test_"​
},​
{​
"Name": "prefix",​
"Value": ".jpg"​
}​
]​
}​
},​
"RuleId": "string",​
"CloudFunction": "string"​
}​
]​
}​
​
Solution​
Set the corresponding FilterRule subscription rule as needed.​
Last updated: 2025.10.10 18:58:07