This is the (pretty printed) result of the HTTP request we get when removing a comment in a custom application:
{ "error": null, "payload": { "dialog": "<form method=\"POST\" class=\"aphront-dialog-view aphront-exception-dialog aphront-dialog-view-standalone\" data-sigil=\"jx-dialog\"><input type=\"hidden\" name=\"__csrf__\" value=\"B@hugfzqln09396f681a5db512\" \/><input type=\"hidden\" name=\"__form__\" value=\"1\" \/><input type=\"hidden\" name=\"__dialog__\" value=\"1\" \/><div class=\"aphront-dialog-head\"><div class=\"phui-action-header sprite-gradient gradient-lightblue-header\"><h3 class=\"phui-action-header-title\">Unhandled Exception ("AphrontDuplicateKeyQueryException")<\/h3><\/div><\/div><div class=\"aphront-dialog-body grouped\"><div class=\"aphront-unhandled-exception\"><div class=\"exception-message\">#1062: Duplicate entry 'PHID-USER-cqavrovfv3fqflsmgdas-PHID-XACT-PPRR-qlfxezfpx6632u6' for key 'key_draft'<\/div><\/div><\/div><div class=\"aphront-dialog-tail grouped\"><a href=\"\/\" class=\"button grey\" name=\"__cancel__\" data-sigil=\"jx-workflow-button\" data-meta=\"6_0\">Close<\/a><\/div><\/form>" }, "javelin_metadata": [ [ ] ], "javelin_behaviors": { "dark-console": [ { "uri": "\/transactions\/remove\/PHID-XACT-PPRR-qlfxezfpx6632u6\/", "key": "cylmwpslzekqlsyyi3wrhq6l", "color": "#ff0000" } ] }, "javelin_resources": [ "https:\/\/code.pageuppeople.com\/res\/phabricator\/a5ff7d87\/core.pkg.css", "https:\/\/code.pageuppeople.com\/res\/phabricator\/83e2cc86\/rsrc\/css\/layout\/phabricator-action-header-view.css", "https:\/\/code.pageuppeople.com\/res\/phabricator\/df001cab\/darkconsole.pkg.js", "https:\/\/code.pageuppeople.com\/res\/phabricator\/14887b3d\/core.pkg.js", "https:\/\/code.pageuppeople.com\/res\/phabricator\/b88ab49e\/rsrc\/externals\/javelin\/core\/init.js" ] }
The exception is:
#1062: Duplicate entry 'PHID-USER-cqavrovfv3fqflsmgdas-PHID-XACT-PPRR-qlfxezfpx6632u6' for key 'key_draft'
Is this something I've forgotten to hook up / call correctly, or is the infrastructure not working here?