You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
When making a call to next link retrieved in response of API , 404 is returned
API used -
https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-wiki-rest-api-content-search-get
We are able to traverse 80+ batches following the next link.
On one of the next links -
/rest/api/content/search?next=true&cursor=<real_cursor_value>%3D%3D&expand=restrictions.read.restrictions.group%2Crestrictions.read.restrictions.user%2Cancestors%2Chistory.contributors.publishers.users%2Chistory%2Cbody.view%2Chistory.lastUpdated%2Cspace&limit=50&start=4350&cql=type+in+%28+page%2C+blogpost%29+and+type+in+%28page%2C+blogpost%29,
we are getting 404 with response
{
"statusCode": 404,
"data": {
"authorized": false,
"valid": false,
"errors": [
{
"message": {
"translation": "Cannot find content <page: 91943000 v.1>. Outdated version/old_draft/trashed? Please provide valid ContentId.",
"args": []
}
}
],
"successful": false
},
"message": "com.atlassian.confluence.api.service.exceptions.NotFoundException: Cannot find content <page: 91943000 v.1>. Outdated version/old_draft/trashed? Please provide valid ContentId."
}
We are unable to traverse further.
The expectation is to only find latest version of the content.
How do we make progress?