Answer the question
In order to leave comments, you need to log in
Yandex Money Api What does "Bearer error="invalid_token", error_description="The specified access token isn't found yet." mean?
I am trying to use the Yandex.Money API to use the Yandex wallet to view account information, transfer money, etc.
I can't find information anywhere about the error "Bearer error="invalid_token" , error_description="The specified access token isn't found yet." .Money: https://yandex.ru/dev/money/apps :
- registering an application and getting a client_id
- authorization request with a list of rights, made different combinations, received keys for rights: "account-info operation-history operation-details ", for "account-info operation-history" and just for "account-info" test
- when trying, for example, to get information about the user's account status (account-info rights), an error is returned in the WWW-Authenticate header: Bearer error="invalid_token", error_description="The specified access token isn't found yet.", o which there is nothing in the documentation, support does not answer the question.
I am making a request for information. account status.
As stated in the documentation:
POST /api/account-info HTTP/1.1
Host: money.yandex.ru
Authorization: Bearer 4100*номер токена *Z0123
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
POST /api/account-info HTTP/1.1
Host: money.yandex.ru
User-Agent: insomnia/7.0.1
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer 7512*мой токен*CA9
Accept: */*
Content-Length: 0
POST /api/account-info HTTP/1.1
Host: money.yandex.ru
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Content-Length: 0
Authorization: Bearer Bearer 7512*мой токен*CA9
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question