Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

REST API doesn't work in TeamCity build

So here's the problem:

I try to get some info from confluence page using python requests.

The code looks something like this

auth=(USER, PWD),
params={'expand': 'version,'})


I can access the page locally and it works just fine, even with the basic auth.

But when I try to run TC build that executes this code (using the same credentials) I get the following error:

{"statusCode":404,"data":{"authorized":false,"valid":true,"allowedInReadOnlyMode":true,"errors":[],"successful":false},"message":"No content found with id: ContentId{id=(page_id))}","reason":"Not Found"}

Although this page exists and judging by log, URL is not modified in any way.

This TC build also uses other Atlassian rest apis (jira, bitbucket) and there are no errors.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

Introducing Confluence Cloud for Microsoft Teams (Available for Preview!)

Hi Atlassian Community, Remote work has shifted how teams collaborate, and we’ve heard from many of you that Microsoft Teams has become mission critical to many of your workflows, from how you chat...

2,486 views 21 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you