Problems with telegram bot video and hass.io

I am using Node Red with hass.io on arm64.
I have a problem with node-red, I always gets error:

Call-service API error. Error Message: extra keys not allowed @ data['file']

on the node below. I tried all possible mutation of data, but no luck. In hass.io I can call the service with the following data, and it works:
file: "/config/www/images/modhus.mp4"

But below node fails. I an us the send_photo with no issues.

[
    {
        "id": "ab7d8722.2477f8",
        "type": "api-call-service",
        "z": "22082528.569b42",
        "name": "Send vid",
        "server": "e3d9c588.464828",
        "version": 1,
        "debugenabled": false,
        "service_domain": "telegram_bot",
        "service": "send_video",
        "entityId": "",
        "data": "{\"file\":\"/config/www/images/modhus.mp4\"}",
        "dataType": "json",
        "mergecontext": "",
        "output_location": "",
        "output_location_type": "none",
        "mustacheAltTags": false,
        "x": 800,
        "y": 540,
        "wires": [
            []
        ]
    },
    {
        "id": "e3d9c588.464828",
        "type": "server",
        "z": "",
        "name": "hasstv",
        "legacy": false,
        "hassio": true,
        "rejectUnauthorizedCerts": true,
        "ha_boolean": "y|yes|true|on|home|open",
        "connectionDelay": true,
        "cacheJson": true
    }
]

Now I have it working.
entityID = "none" works - Empty string is bad.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.