You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens because of current version deprecation, see the users.get API response:
%{"error"=>%{"error_code"=>8,"error_msg"=>"Invalid request: versions below 5.21 are deprecated. Version param should be passed as \"v\". \"version\" param is invalid and not supported. For more information go to https://vk.com/dev/constant_version_updates","request_params"=>[%{"key"=>"fields","value"=>"first_name,last_name,bdate,education,universities,domain,photo_400,photo_100"},%{"key"=>"user_ids","value"=>"138555414"},%{"key"=>"v","value"=>"5.8"},%{"key"=>"method","value"=>"users.get"},%{"key"=>"oauth","value"=>"1"}]}}
Fix
Updating to a newer version solves the problem, according to this doc the latest version is 5.124. According to changelog there are no critical changes to users.get, so I think the version can be safely updated. See #109
The text was updated successfully, but these errors were encountered:
@sobolevn, thanks for accepting a PR! I think this issue can be closed now, but would you mind updating a Hex release? With the latest 0.3.1 version it will still fail on every request
vk.com API returns an error during callback because current API version in request (v5.8) is deprecated since 1st June 2020
Reproduction
Try authenticating with /auth/vk, after redirect to callback it fails with the fallowing error:
This happens because of current version deprecation, see the
users.get
API response:Fix
Updating to a newer version solves the problem, according to this doc the latest version is 5.124. According to changelog there are no critical changes to
users.get
, so I think the version can be safely updated. See #109The text was updated successfully, but these errors were encountered: