Unable to add new inline comment to Confluence Cloud page
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Users are experiencing an issue on a specific page where they cannot add new inline comments. When attempting to save a comment, the following error message is displayed:
Something went wrong when saving this comment. Close the comment or refresh the page, and try adding your comment again
Diagnosis
Inline comments already exist on the page, indicating that the feature is generally functional.
The error occurs exclusively when users try to create new inline comments.
Duplicating the page does not reproduce the issue, suggesting the problem is isolated to the original page.
Analysis of the HAR file and browser console reveals that the
cgraphql
request, specificallycgraphql?q=WatchPageMutation,CreateInlineCommentMutation
, returns an error.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[
{
"data": {
"watchContent": {
"content": {
"id": "123456",
"currentUserIsWatching": true,
"__typename": "Content"
},
"__typename": "WatchContentPayload"
}
}
},
{
"errors": [
{
"message": "a0ce0ab6-3b1a-416d-a631-31129a79976d: com.atlassian.confluence.pages.DuplicateDataRuntimeException: A page already exists with the same TITLE in this space",
"path": [
"createInlineComment"
],
"extensions": {
"microsID": "xxxx",
"data": null,
"statusCode": 500,
"classification": "DataFetchingException"
}
}
],
"data": null
}
]
Upon reviewing the space content, we notice an archived page with the same title.
Cause
Having two pages with the same title in the same space is not expected behavior and may have been caused by a bug, such as CONFCLOUD-74034 - Possible to have a duplicate title with an archived page (no longer reproducible) or CONFCLOUD-77709 - Using the same rule trigger allows duplicate page titles in the same space.
Solution
To resolve this issue, rename the archived page.
Was this helpful?