B
B
bublik13372019-06-27 11:02:53
API
bublik1337, 2019-06-27 11:02:53

Access denied: could not access this community?

Request:

https://api.vk.com/method/wall.createComment?owner_id='.$owner_id.'&post_id='.$post_id.'&from_group='.$group.'&message=163&v=5.90&access_token='. $token

Answer
{"error":{"error_code":15,"error_msg":"Access denied: could not access to this community","request_params":[{"key":"owner_id","value":"***"},{"key":"post_id","value":"***"},{"key":"from_group","value":"***"},{"key":"message","value":"***"},{"key":"v","value":"5.90"},{"key":"method","value":"wall.createComment"},{"key":"oauth","value":"1"}]}}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2019-06-27
@sergiks

with which token are you making the request? Can the person running on behalf of the group see the group? Are group comments allowed? Are community comments allowed in the group?
See VK error codes .

15 - Access denied .
Make sure you are using the correct IDs and that the content for the current user is available in the full version of the site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question