Skip to content

Activity event had invalid subject parameters provided

Activity event had invalid subject parameters provided [app: files_2anywhere, subject: status_progress]
Object for placeholder flow is invalid, value 1 for key id is not a string
Activity event had invalid subject parameters provided [app: files_2anywhere, subject: status_init]
Object for placeholder flow is invalid, value 2 for key id is not a string
Nextcloud error
{
    "reqId": "kFBBAFbZypBgjHB8Hu4k",
    "level": 3,
    "time": "2025-11-16T09:02:11+01:00",
    "remoteAddr": "89.84.127.35",
    "user": "DB08555E-F13D-11EC-9133-4F77E458D731",
    "app": "files_2anywhere",
    "method": "GET",
    "url": "/ocs/v2.php/apps/activity/api/v2/activity/files_2anywhere_flowfile?format=json&since=0",
    "message": "Activity event had invalid subject parameters provided [app: files_2anywhere, subject: status_init]",
    "userAgent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36",
    "version": "31.0.8.2",
    "exception": {
        "Exception": "OCP\\RichObjectStrings\\InvalidObjectExeption",
        "Message": "Object for placeholder flow is invalid, value 2 for key id is not a string",
        "Code": 0,
        "Trace": [
            {
                "file": "/opt/nextcloud/lib/private/RichObjectStrings/Validator.php",
                "line": 59,
                "function": "validateParameter",
                "class": "OC\\RichObjectStrings\\Validator",
                "type": "->"
            },
            {
                "file": "/opt/nextcloud/apps/activity/lib/GroupHelper.php",
                "line": 83,
                "function": "validate",
                "class": "OC\\RichObjectStrings\\Validator",
                "type": "->"
            },
            {
                "file": "/opt/nextcloud/apps/activity/lib/GroupHelper.php",
                "line": 47,
                "function": "addEvent",
                "class": "OCA\\Activity\\GroupHelper",
                "type": "->"
            },
            {
                "file": "/opt/nextcloud/apps/activity/lib/Data.php",
                "line": 232,
                "function": "addActivity",
                "class": "OCA\\Activity\\GroupHelper",
                "type": "->"
            },
            {
                "file": "/opt/nextcloud/apps/activity/lib/Controller/APIv2Controller.php",
                "line": 190,
                "function": "get",
                "class": "OCA\\Activity\\Data",
                "type": "->"
            },
            {
                "file": "/opt/nextcloud/apps/activity/lib/Controller/APIv2Controller.php",
                "line": 137,
                "function": "get",
                "class": "OCA\\Activity\\Controller\\APIv2Controller",
                "type": "->"
            },
            {
                "file": "/opt/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
                "line": 200,
                "function": "getFilter",
                "class": "OCA\\Activity\\Controller\\APIv2Controller",
                "type": "->"
            },
            {
                "file": "/opt/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
                "line": 114,
                "function": "executeController",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->"
            },
            {
                "file": "/opt/nextcloud/lib/private/AppFramework/App.php",
                "line": 161,
                "function": "dispatch",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->"
            },
            {
                "file": "/opt/nextcloud/lib/private/Route/Router.php",
                "line": 315,
                "function": "main",
                "class": "OC\\AppFramework\\App",
                "type": "::"
            },
            {
                "file": "/opt/nextcloud/ocs/v1.php",
                "line": 49,
                "function": "match",
                "class": "OC\\Route\\Router",
                "type": "->"
            },
            {
                "file": "/opt/nextcloud/ocs/v2.php",
                "line": 7,
                "args": [
                    "/opt/nextcloud/ocs/v1.php"
                ],
                "function": "require_once"
            }
        ],
        "File": "/opt/nextcloud/lib/private/RichObjectStrings/Validator.php",
        "Line": 85,
        "message": "Activity event had invalid subject parameters provided [app: files_2anywhere, subject: status_init]",
        "exception": [],
        "CustomMessage": "Activity event had invalid subject parameters provided [app: files_2anywhere, subject: status_init]"
    },
    "id": "691ed0010c836"
}
Edited by Florian Charlaix
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information