Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud spaces vs Server space #87

Open
sanscontext opened this issue Jun 1, 2023 · 4 comments
Open

Cloud spaces vs Server space #87

sanscontext opened this issue Jun 1, 2023 · 4 comments

Comments

@sanscontext
Copy link

I did some hilarious scripting to clean up my markdown dump to make it acceptable to the tool, and now instead I'm getting

requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://<mycompany>.atlassian.net/wiki/space/TEST?expand=homepage

When I go to actually look at Confluence Cloud's URL for the TEST space it's https://<mycompany>.atlassian.net/wiki/spaces/TEST (note the plural spaces).

Have I missed something or found a bug? :)

@timocp
Copy link

timocp commented Jun 30, 2023

I had a similar error because I was using the wrong url. For cloud, the host param needs to include the path to version 1 of the cloud rest api - I think you're missing the /rest/api part.

CONFLUENCE_HOST="https://<mycompany>.atlassian.net/wiki/rest/api"

@iamjackg
Copy link
Owner

@sanscontext, did @timocp's suggestion solve your issue?

@sanscontext
Copy link
Author

I had to abandon the project, so I didn't get a chance to test.

@James-Rocker
Copy link

FYI, I was having the same issue. @timocp, your method solved the issue for me 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants