Trying to post JSON encoded data to set stream title/game/delay etc, however it seems to be setting everything correct as per the data dumper output, but i’m getting a 401 back, any ideas? i’m kinda stumped. The oauth key is correct - in fact i tried regenerating it and still get the same thing “Token Invalid or missing required scope”. I saw a couple of other posts that say i should put “?oauth_token=” in the URL, but it thought that was just for a URLEncoded string as shown in the docs.
any help appreciated
my $channelname = “channelname”;
my $OAUTH_KEY = “obvious”;
Just as an aside, i even ran it manually using the oauth token I received from the auth section using curl as described in the api docs and i get the same error
I finally figured out it was a damn typo in the oauth key… but i’m now getting a “length required” error which as you can see is being put into the headers, ideas?
nginx
curl: (3) [globbing] bad range in column 13
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 174 100 174 0 0 342 0 --:--:-- --:--:-- --:--:-- 343
yea i noticed that after i posted it but it’s still doing the same thing, and according to the CURL docs when run from the command line, it automatically puts it in… like i said, i tried the example given in the docs and put my key in, still got the same thing,