-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Hi all,
as my usage of this nice tool intensifies, I have stumbled across another issue that I cannot seem to fix. When I push my documentation to confluence, I receive the following error:
atlassian DATA:
unexpected rest response detected; retrying in 5 seconds...
sphinxcontrib.confluencebuilder error:
---
Unsupported Confluence API call
An unsupported Confluence API call has been made. See the following
details for more information:
REQ: POST
RSP: 400
URL: https://voith.atlassian.net/wiki/
API: rest/api/content
DATA: {
"statusCode": 400,
"data": {
"authorized": true,
"valid": true,
"errors": [],
"successful": true
},
"message": "com.atlassian.confluence.api.service.exceptions.BadRequestException: A page with this title already exists: A page already exists with the same TITLE in this space"
}
---
While the response is relatively clear, it unfortunately does not tell me which page resulted in this error. Additionally, I am a bit confused how this can be because:
- I wiped the space before trying to publish when I first encountered this issue
- I was under the impression that existing pages were supposed to be overwritten
- The issue seems to occur with the same page every time but the error message does not tell me which page it is
- As I used the API myself before switching to confluence builder, I tried to take care that all pages have individual names
Is there some way to further investigate? Also, being able to skip pages with errors and continue would already help a lot. I have almost 10k pages about configuration files and the one failing is around number 3k leading to a situation in which 7k configs remain undocumented. Is this possible?
Update:
I have actually spent the time watching the publishing process to figure out which page is to blame. The page in question is also 800kb in size and therefore the biggest one I have. Is it possible that this is a problem? It is always this page that seems to cause the issue. It is interesting that there is a retry before and then it states that the page already exists. Is it possible that the first attempt actually succeeds and then the retry fails?
Update 2:
After increasing the time out to a minute, my documentation is correctly being published again. This leads me to believe that there is some issue with the retry being initiated even though the primary request ends up succeeding. The other issue is that this completely cancels the publishing process as a whole