Trying to follow the tutorial at https://developer.atlassian.com/cloud/bitbucket/getting-started and as soon as I get to the step to "Create an app" by visiting https://bitbucket.org/account/apps and pasting my app url, I get a server side 500 error after the browser sends a post request to https://bitbucket.org/!api/internal/account/{my-account-id}/apps/, where {my-account-id} is my actual bitbucket account id.
The only information shown in the UI just says "Something went wrong".
JSON response from the server also doesn't display anything useful:
{"type": "error", "error": {"message": "Something went wrong", "id": "2ca1739fca004effa2ddb0b1b1e1e7a1"}}
Bitbucket appears to be hitting my test application correctly and receives a valid response. Here's the JSON that is being fetched at that app URL:
{ "key":"example-app", "name":"Example App", "description":"An example app for Bitbucket", "vendor":{ "name":"Angry Nerds", "url":"https://www.atlassian.com/angrynerds" }, "baseUrl":"http://904aca29.ngrok.io", "authentication":{ "type":"jwt" }, "lifecycle":{ "installed":"/installed", "uninstalled":"/uninstalled" }, "modules":{ "webhooks":[ { "event":"*", "url":"/webhook" } ], "webItems":[ { "url":"http://example.com?repoPath={repository.full_name}", "name":{ "value":"Example Web Item" }, "location":"org.bitbucket.repository.navigation", "key":"example-web-item", "params":{ "auiIcon":"aui-iconfont-link" } } ], "repoPages":[ { "url":"/connect-example?repoPath={repository.full_name}", "name":{ "value":"Example Page" }, "location":"org.bitbucket.repository.navigation", "key":"example-repo-page", "params":{ "auiIcon":"aui-iconfont-doc" } } ], "webPanels":[ { "url":"/connect-example?repoPath={repository.full_name}", "name":{ "value":"Example Web Panel" }, "location":"org.bitbucket.repository.overview.informationPanel", "key":"example-web-panel" } ] }, "scopes":[ "account", "repository" ], "contexts":[ "account" ]}