Comments (8)
OK, I'm gradually understanding... Thanks for your help. In summary, on Atlassian Cloud,
- base URL is
https://<your-domain>.atlassian.net/wiki
- username is your email address
- password is your API token, which you can issue at https://id.atlassian.com (c.f. https://confluence.atlassian.com/cloud/api-tokens-938839638.html)
from conflr.
Thanks for the notice! I have zero knowledge about the Atlassian Cloud. Do you know how we can get authenticated there?
from conflr.
It seems you can use your email address for username, and API token for password. Could you try?
https://confluence.atlassian.com/cloud/api-tokens-938839638.html
from conflr.
I tried using my email address for username, and API token for password.
But authentication failed and I received the following message.
> conflr:::confl_create_post_from_Rmd()
Error in confl_verb("GET", "/user/current", query = purrr::compact(query)) : Error in stop(httr::http_condition(res, type = "error"), httr::content(res)): Not Found (HTTP 404). null for uri: https://<base_url>/rest/api/user/current404 In addition: Warning message: In stop(e, call. = FALSE) : additional arguments ignored in stop()
from conflr.
Thanks for the error details! It seems you need to specify /wiki
(i.e. https://<your-domain>.atlassian.net/wiki
) in addition to the base URL of your Atlassian Cloud. Could you try again with this?
c.f. https://developer.atlassian.com/cloud/confluence/rest/#api-user-current-get
from conflr.
Thanks for the comment! After fixing, I succeeded in creating pages.
from conflr.
Worked for me too! Thanks!
from conflr.
Thanks for confirmation! Then, I'll close this after improving README 👍
from conflr.
Related Issues (20)
- Error after rendering HOT 4
- error during uploading of images HOT 1
- How can I publish R package documentation to confluence HOT 4
- Issue 'Base URL of Confluence API' "Error : ! Invalid credentials" RStudio HOT 2
- post to confluence from html HOT 3
- Including interactive network map with visNetwork? HOT 1
- Error rendering macro 'code' HOT 1
- Is it possible to programmatically untick "notify watchers" when posting to confluence? HOT 3
- `code_folding: hide` is not folding code HOT 2
- 403 forbidden HOT 3
- read html file as `body` in `conflr::confl_update_page()` HOT 2
- Rmarkdown upload with interactive plots HOT 2
- Fix for inline maths/ list elements not getting translated
- Invalid credentials / no access with personal access token
- add R markdown template
- Quarto support HOT 1
- Links to headings
- How to create links to top of the document?
- scrollbars on wide tables? HOT 1
- DT::datatable only shows header HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conflr.