I
I
IvanOne2018-12-10 07:33:18
Python
IvanOne, 2018-12-10 07:33:18

Why can't I add a product to VK api?

Hello, I can’t figure out why the creation of a product in VK via api does not work. The essence of the problem I call market.add I get an Invalid Token error (error 5), I use the vk_api package. At the same time, I looked that the token was being transmitted, the same error occurs if I try to request photos.getMarketUploadServer, at first I thought that something was wrong with the token, but for example, it returns all user groups without errors.
I use Authorization Code Flow
Scope rights when authorizing market,groups,offline,email,photos
api version 5.92

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ScriptKiddo, 2018-12-10
@IvanOne

Compose the Sample Query in the constructor . If the error still occurs, the problem is in the query parameters
If the correct data is returned - then look for the problem in the code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question