Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

404 using confluence publisher

Jeremiah Michaels
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 17, 2025

I am getting this error when trying to publish from a pipeline:

 

org.sahli.asciidoc.confluence.publisher.client.http.RequestFailedException: request failed (request: GET https://vms.atlassian.net/wiki/api/v2/pages/98369814/direct-children?limit=25 <empty body>, response: 404 Not Found {"errors":[{"status":404,"code":"NOT_FOUND","title":"Not Found","detail":null}]}, reason: <none>)

I checked my token with curl, and it works. I also created a scoped token, and that worked. I am my site admin, so permissions shouldn't be an issue.

It looks like the call is not finding child pages under the ancestor. I tired the top level (overview) page ID and the actual page ID, but I get the same error.

1 answer

0 votes
marc -Collabello--Phase Locked-
Community Champion
December 19, 2025

Hi,

If the same call works with curl, it is most likely not a permissions issue.

One possibility is that the pipeline process does not set the correct authentication headers. 

Jeremiah Michaels
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 24, 2025

I copied the headers from the publisher documentation, and modified as needed:

 variables:
    ASCIIDOC_ROOT_FOLDER: ./docs/
    ROOT_CONFLUENCE_URL: http://confluence-host
    ASCIIDOC_BUILD_FOLDER: $CI_PROJECT_DIR/build/docs

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events