Hello!
When sending the following request:
POST https://online-go.com/api/v1/challenges
Headers: { 'Content-Length': '289', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'python-requests/2.8.1', 'Authorization': 'Bearer TOKENHERE', 'Content-Type': 'application/json', 'Connection': 'keep-alive', 'Accept': '*/*' }
Body: { "max_ranking": 15, "challenger_color": "automatic", "min_ranking": 11, "game": { "pause_on_weekends": false, "width": 19, "name": "script-test", "height": 19, "ranked": false, "rules": "japanese", "time_control_parameters": { "total_time": 1200, "time_control": "absolute" }, "handicap": 0 } }
I get the following response:
Headers: { 'Date': 'Sat, 12 Dec 2015 21:11:45 GMT', 'Connection': 'close', 'Content-Language': 'en', 'Transfer-Encoding': 'chunked', 'Vary': 'Accept-Language, Cookie', 'Content-Type': 'text/html', 'Server': 'nginx/1.6.1' }
Body: <h1>Server Error (500)</h1>
Is there something wrong with my request? I did notice that my scope
on the auth2/access_token
request is read
. Does that mean I need to somehow get write permission for my app token?