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.
I am using Confluence Cloud. All worked perfectly but suddenly (max 1 months ago) my REST API call stopped working and it returns me an unauthorized error. I have tried both basic authentication call which I do believe are 100% correct. When I use URL in the browser when I am logged into the Confluence all works fine.
My commands:
1) curl -u s.vincent@gmc.net:PASSWORD -X GET "https://gmcwiki.atlassian.net/wiki/rest/api/content?orderby=history.createdDate%20desc&expand=space,history,metadata.labels&type=page&spaceKey=PKB&limit=100&start=0"
2) curl -X GET -H "Authorization: Basic BASE64TOKEN" -H "Content-Type: application/json" "https://gmcwiki.atlassian.net/wiki/rest/api/content?orderby=history.createdDate%20desc&expand=space,history,metadata.labels&type=page&spaceKey=PKB&limit=100&start=0"
I set up basic authentication based on this article.
Found among the articles that it could be caused my CAPTCHA in case log-in failed more times. First, of I am never asked for CAPTCHA when I am logging in but in Security Configuration is set to 3 and cannot be disabled.
I have tested API call in Postman as well and the result is the same unauthorization error.
Does anyone have any hint? Thanks
Hi @Stanislav Vincent ,
Please take a look at this similar question.
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.