Package
confluence-sync
What happened?
When a page has more than 25 children, the library tries to create pages instead of updating them. This produces an error because the pages already exist in Confluence with the same name.
It is produced because Confluence limits the length of expanded properties to 25 by default. So, the library only receives the first 25 children of pages, and it thinks that the rest of pages to update don't exist, so it tries to create them.
Version
1.x (Default)
Relevant log output
Error creating page with title -----: Error: Bad Request
Response: {
"statusCode": 400,
"data": {
"authorized": false,
"valid": true,
"allowedInReadOnlyMode": true,
"errors": [],
"successful": false
},
"message": "A page with this title already exists: A page already exists with the title ----- in the space with key ----",
"reason": "Bad Request"
}
Code of Conduct