Closed BarryCarlyon closed 1 year ago
Brief description
A call to create a Poll with one option returns two concantentated JSON errors Same problem if you submit 6 (or more) options
How to reproduce
This call to create a Poll
POST https://api.twitch.tv/helix/polls
https://api.twitch.tv/helix/polls
{ "broadcaster_id": "15185913", "title": "Test Poll", "duration": 15, "choices": [ { "title": "bees" } ] }
Results in
{ "error": "Bad Request", "status": 400, "message": "number of choices should be 2 to 5" }{ "error": "Bad Request", "status": 400, "message": "choices must have a length greater than or equal to 2" }
Expected behavior
One error message
Screenshots
No longer occurring. Closed
Brief description
A call to create a Poll with one option returns two concantentated JSON errors Same problem if you submit 6 (or more) options
How to reproduce
This call to create a Poll
Results in
Expected behavior
One error message
Screenshots