WeChat third-party login, access to user information times wrong

Source: Internet
Author: User
Tags openid
Third-party login, access to Access_token and OpenID is correct, but is to obtain user information times this error, what is the reason ah?
' Errcode ' = 40001, ' errmsg ' = ' Invalid credential, Access_token is invalid
For advice, and has reset Appsecret.


Reply to discussion (solution)

Access_token wrong, check the parameters carefully to see what is actually used.

' Invalid credential, Access_token is invalid
Access_token wrong, if confirm Appsecret and code is correct, can contact customer service processing.

is the third-party login The kind of scan login? Using an open platform? Open platform Access_token and the access_token of the public number are different.

Third-party login, access to Access_token and OpenID is correct, but is to obtain user information times this error, what is the reason ah?
' Errcode ' = 40001, ' errmsg ' = ' Invalid credential, Access_token is invalid
For advice, and has reset Appsecret.


has been solved, the link parameter is wrong, really a slip, into the eternal hate ah, thank you, friend

Access_token wrong, check the parameters carefully to see what is actually used.


has been solved, the link parameter is wrong, really a slip, into the eternal hate ah, thank you, friend

' Invalid credential, Access_token is invalid
Access_token wrong, if confirm Appsecret and code is correct, can contact customer service processing.


has been solved, I tried to contact customer service, but they said, no technical services
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.