# Problems with telegram bot video and hass.io

**URL:** <https://discourse.nodered.org/t/problems-with-telegram-bot-video-and-hass-io/21982>\
**Category:** General\
**Created:** [19 February 2020 12:46 UTC](https://discourse.nodered.org/t/problems-with-telegram-bot-video-and-hass-io/21982 "2020-02-19T12:46:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![povlhp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/povlhp/32/17268_2.png) [@povlhp](https://discourse.nodered.org/u/povlhp)\
**Post date:** [19 February 2020 12:46 UTC](https://discourse.nodered.org/t/problems-with-telegram-bot-video-and-hass-io/21982/1 "2020-02-19T12:46:12Z")

</div>

I am using Node Red with [hass.io](http://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](http://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.

```auto
[
    {
        "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
    }
]

```

---

<div class="post-metadata">

**Author:** ![povlhp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/povlhp/32/17268_2.png) [@povlhp](https://discourse.nodered.org/u/povlhp)\
**Post date:** [19 February 2020 13:34 UTC](https://discourse.nodered.org/t/problems-with-telegram-bot-video-and-hass-io/21982/2 "2020-02-19T13:34:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [19 April 2020 13:34 UTC](https://discourse.nodered.org/t/problems-with-telegram-bot-video-and-hass-io/21982/3 "2020-04-19T13:34:47Z")

</div>

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