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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • 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

Getting 500 error when trying to back up Confluence

Hi,

I am trying to automatically back up confluence (cloud) via REST API. According to the script samples I need to do a GET request towards https://<mydomain>.atlassian.net/wiki/rest/obm/1.0/getprogress but getting a 500 internal server error.

 

Other info:

I am going to create an Azure function app but as of now I am just testing the API via postman.

I had no issues backing up Service Management (cloud), only on Confluence.

confluence500.JPG

2 answers

1 accepted

0 votes
Answer accepted

If someone is have the same issue, I had to create a session to be able to reach the rest api. 

This one helped me since I was developing an azure function (c#): https://stackoverflow.com/questions/43883952/using-httpclient-throughout-methods-without-losing-session-and-cookies

0 votes
Fadoua Community Leader Dec 25, 2020

@Simon Andersson 

I googled and noticed that most of the users who created successful backups did it through bitbucket or GitHub.

Is it an option for you guys or not?

Did you check the following?

https://docs.atlassian.com/atlassian-confluence/REST/1000.107.0/

Best,

Fadoua

Hi Fadoua,

I suppose this is an option, but don't see the reason why we have to use a script (like powershell or python).

I wonder why I have no problem running the '/wiki/rest/obm/1.0/runbackup' for creating the cloud backup. But when trying trying to get the download url with '/wiki/rest/obm/1.0/getprogress' just returns a 500...

Since I can't even get the simple rest api call via postman, the scripts would fail as well no?

//Simon

Fadoua Community Leader Dec 31, 2020

@Simon Andersson 

Definitely I agree, if the get method is the one returning the 500 error then there is a problem.

Please click here then submit a ticket to Atlassian Team

All the best,

Fadoua

Like Simon Andersson likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

146 views 0 5
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