Skip to content

There is no content with the given id, or the calling user does not have permission to view the content #1524

Open
@sherry-kaikai

Description

@sherry-kaikai
    # 读取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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions