I am getting this error when trying to publish from a pipeline:
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.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.