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

Wrong Token #112

Open
Borzoff opened this issue May 4, 2023 · 0 comments
Open

Wrong Token #112

Borzoff opened this issue May 4, 2023 · 0 comments

Comments

@Borzoff
Copy link

Borzoff commented May 4, 2023

Здравствуйте, хочу создать p2p ссылку, но ошибка что токен не правильный, хотя на php модуле qiwi все работает и токен правильный.

glQiwiApi.qiwi.exceptions.QiwiAPIError: Wrong API token or token expired
* 401 HTTP status code
* raw response

Код взял из примера:

async def create_p2p_bill():
    async with QiwiP2PClient(secret_p2p=TOKEN) as p2p:
        bill = await p2p.create_p2p_bill(amount=1)
        print(bill)


asyncio.run(create_p2p_bill())

Windows 10, python 3.10

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

1 participant