Ts3audiobot: WebAPI - CommandPlay

Created on 1 Apr 2018  路  1Comment  路  Source: Splamy/TS3AudioBot

Hi,

i use the newest developer branch and get the following error(422) when try to play a file or stream via WebAPI:

{
"ErrorCode": 17,
"ErrorName": "MissingContext",
"ErrorMessage": "Command 'CommandPlay' missing execution context 'InvokerData'"
}

I call the WebAPI with:

http://localhost:10001/api/bot/use/0/(/play/test.mp3

If i try to play via TextChat (!play test.mp3) it works perfectly.
Functions like change name also works via WebAPI.

Is it my fault or a (known) bug?

Kind regards

Most helpful comment

From the error message, I would guess that the !play command needs to know the invoker,
so it should work if you authenticate yourself with your access token (you can get it with !token).

But that鈥檚 just a guess, I could be wrong.

>All comments

From the error message, I would guess that the !play command needs to know the invoker,
so it should work if you authenticate yourself with your access token (you can get it with !token).

But that鈥檚 just a guess, I could be wrong.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DanonekTM picture DanonekTM  路  3Comments

ManuPlaysLP picture ManuPlaysLP  路  5Comments

Adminio1 picture Adminio1  路  4Comments

Najsr picture Najsr  路  3Comments

bennetgallein picture bennetgallein  路  4Comments