Sync Gateway PUT /{db}/ responds with "Bad JSON" - but JSON is valid

Does the bucket need to exist already? I assume not…