Wechat shares and keeps reporting that the config:fail,Error: invalid signature (signature generation is consistent)

can Wechat share other pages? Have you tried the current page path and the page path I want to share, or have you always reported that config:fail,Error: invalid signature (signature generation is consistent)

clipboard.png

Sep.16,2021

problem has been solved. There are two problems:
1. The address passed to the backend must be the same as the sharing address. (the question of whether you can share other pages instead of the current page has not been solved) try not to take parameters
2. Check to see if there is any error after the address is passed to the backend. On my own side, the problem of invalid appSecret will occur when it is passed to the backend
, which is the two directions for me to solve this problem.
for the question of "can you share other pages instead of the current page", the answer is yes. Sharing pages can be other pages. But the path to request the interface from the backend must be the current path


check the code and still report an error according to the idea of the landlord, and ask for an answer

.
Menu