You can reproduce it on production like this, if that helps? This at least proves that it can't be some strange substitution in snapcraft.
In [1]: lp.git_repositories.new(owner='/~devnull', target='/~devnull', name='foo') [...] ServerError: HTTP Error 500: Internal Server Error Response headers: --- -content-encoding: gzip connection: close content-length: 147 content-type: text/html;charset=utf-8 date: Mon, 18 Nov 2019 10:55:01 GMT server: zope.server.http (HTTP) status: 500 vary: Accept-Encoding x-powered-by: Zope (www.zope.org), Python (www.python.org) --- Response body: --- <html><head><title>GitRepositoryCreatorNotOwner</title></head> <body><h2>GitRepositoryCreatorNotOwner</h2> A server error occurred. </body></html> -- https://code.launchpad.net/~ilasc/launchpad/+git/launchpad/+merge/375614 Your team Launchpad code reviewers is requested to review the proposed merge of ~ilasc/launchpad:bug-1852482 into launchpad:master. _______________________________________________ Mailing list: https://launchpad.net/~launchpad-reviewers Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-reviewers More help : https://help.launchpad.net/ListHelp

