Answer the question
In order to leave comments, you need to log in
Api vk.com - why does not accept the version?
If you send a request from the sandbox, then the message is successfully sent:
https://vk.com/dev/messages.send?params[random_id]=354655¶ms[peer_id]=185014513¶ms[message]=Test%20message¶ms[dont_parse_links]=0¶ms[disable_mentions]=0¶ms[v]=5.103
https://api.vk.com/method/messages.send?params[random_id]=354654¶ms[peer_id]=185014513¶ms[message]=Test%20message¶ms[v]=5.103&access_token=валидный_токен_scope_messages
{"error":{"error_code":8,"error_msg":"Invalid request: v is required. Version param should be passed as \"v\". \"version\" param is invalid and not supported.","request_params":[{"key":"params","value":"354655,185014513,Test message,5.103"},{"key":"method","value":"messages.send"},{"key":"oauth","value":"1"}]}}
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