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

Torch Object Storage

Copy page
Download PDF
14-NOTIFICATION
0014-00000007
Copy page
Download PDF
0014-00000007
Problem description​
The function service ID is empty.​
Root cause​
The function service ID was not set when creating an event notification rule of function service type.​
Example​
​
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": "suffix",​
"Value": ".jpg"​
}​
]​
}​
},​
"RuleId": "string",​
"CloudFunction": "" ​
}​
]​
}​
​
​
PUT /?notification_v2 HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: GMT Date​
Authorization: authorization string​
{​
"Rules":[​
{​
"Events":[​
"tos:ObjectCreated:*",​
"tos:ObjectRemoved:*"​
],​
"Filter":{​
"TOSKey":{​
"FilterRules":[​
{​
"Name":"prefix",​
"Value":"test_"​
},​
{​
"Name":"suffix",​
"Value":".jpg"​
}​
]​
}​
},​
"RuleId":"string",​
"Destination":{​
"VeFaaS":[​
{​
"FunctionId":""​
}​
]​
}​
}​
],​
"Version": "1698031811529301000"​
}​
​
Solution ​
Check if the provided function service ID is correct; if it does not exist, create the corresponding function and try again.​
Last updated: 2026.10.08 17:20:28