Issue: Unexpected "summaryrequired" when creating a new section using the API
POST /w/api.php
action edit format json section new sectiontitle The new section's title text foobar title Commons:Sandbox token XXX+\
{"servedby":"mw1202","error":{"code":"summaryrequired","info":"Summary required","*":"See https://commons.wikimedia.org/w/api.php for API usage"}}
From the API docs:
summary: Edit summary. Also section title when section=new and sectiontitle is not set.
Expected: No edit summary or an auto-created one like /* The new section's title */ new section