Thanks to visit codestin.com
Credit goes to github.com

Skip to content

When trying to use 'listtokens' I get error 1000 'Login is required' #61

@ikwyl6

Description

@ikwyl6

I've successfully used the api for my script but when trying to determine and use the call listtokens to see if my tokens have expired or when they will expire, the api returns the following error:

{'result': 1000, 'error': 'Log in required.'}

I'm using oauth2 as my authenication. The listtokens command doesn't take any input: https://docs.pcloud.com/methods/auth/listtokens.html
To start my script off (as it's in it's beginning stage) I've written a 'list folders' function and that works fine. So it's not that I'm not logged in, it must be something else.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions