When I try to insert a macro I’m building, I keep getting 500 errors when trying to retrieve the macro definition (/wiki/plugins/servlet/confluence/placeholder/macro?definition=e2J1…). This is with a bodyType: none
When I change it to bodyType: plain-text
, instead, the macro-header request 500s.
How can I gain access to the Confluence application logs to debug this?
Here is my atlassian-connect.json
{
"key": "confluence-helloworld-addon",
"name": "Hello World",
"description": "My very first add-on",
"vendor": {
"name": "Angry Nerds",
"url": "https://www.atlassian.com/angrynerds"
},
"baseUrl": "{{localBaseUrl}}",
"links": {
"self": "{{localBaseUrl}}/atlassian-connect.json",
"homepage": "{{localBaseUrl}}/atlassian-connect.json"
},
"authentication": {
"type": "jwt"
},
"lifecycle": {
"installed": "/installed"
},
"scopes": ["READ"],
"modules": {
"staticContentMacros": [
{
"renderingMethod": "get",
"url": "/button-link?buttonText={text}&buttonUrl={url}",
"description": {
"value": "Add a button link"
},
"icon": {
"width": 80,
"height": 80,
"url": "/images/button-icon.svg"
},
"bodyType": "none",
"outputType": "block",
"featured": true,
"name": {
"value": "Button Link"
},
"key": "button-link"
}
]
}
}
Could it be due to a changing ngrok address?