Open
Description
# 读取wiki_key.txt
with open('data/WIKI_key.txt', 'r', encoding='utf-8') as f:
wiki_key = f.read()
print(wiki_key)
confluence = Confluence(
url='https://wiki.xxx.com',
token = 'xxxxxxxxxxxxxxxxxx')
# username='xxxxxxxxxxx',
# password='xxxxxxxxxxxxx')
when use with open('data/WIKI_key.txt', 'r', encoding='utf-8') as f:
there is something wrong ,may read the '/n',but we cannot see ...
so its Error log:
"There is no content with the given id, or the calling user does not have permission to view the content"
it is just a read error ! not api error...
Metadata
Metadata
Assignees
Labels
No labels