Why can't I access some methods VK API?

Hello!

My site is authorization via VK API. Authorization I save the user token, so that later he could interact with it. However, apparently, the Authorization code flow does not allow me to fully implement all the functionality on this token when calling some methods of it brings me an error #15.

Actually the error itself...
{"error":{"error_code":15,"error_msg":"Access denied: no access to call this method","request_params":[{"key":"oauth","value":"1"},{"key":"method","value":"groups.getRequests"}


But if I get with the same scope token through service vkhost.github.io, and then manually copy it and save on the website, absolutely all the methods I need to start working.

Actually a question:
Is it possible in any way to circumvent this problem by restricting access to some methods Vkontakte and immediately receive a fully valid user token, which will press only one button to Login?
March 19th 20 at 08:55
1 answer
March 19th 20 at 08:57
Solution
when calling methods sections of messages error, because restricted Messages API
using the service works because the token they receive via the application have access to the Messages API

Is it possible in any way to circumvent this problem by restricting access to some methods Vkontakte and immediately receive a fully valid user token, which will press only one button to Login?

you can, if you ask support
Method Messages I don't use it except only through the message of community and there everything works fine.

In the spoiler is an example of a method where I am faced with this error. Method groups.getRequests - Trenton14 commented on March 19th 20 at 09:00
@Trenton14, this method can be called using the authorization scheme Implicit Flow, but not using Authorization Code Flow - keara.Dibbert commented on March 19th 20 at 09:03

Find more questions by tags VKontakteAPI