Public number development call JS-SDK reports: config: invalid url domain error troubleshooting, js-sdkinvalid
1. Check whether the following parameters are correct.
AppId: sAppId, // required. It is the unique identifier of the public account.
Timestamp: sTimestamp, // required. The time stamp for generating the signature.
NonceStr: sNonceStr, // required. A Random signature string is generated.
Signature: sSignature, // required, signature
2. Check whether the signature encryption method is correct. (I tried this. I did not know SHA1 encryption before, so I found an encryption method on the Internet. Later I learned that the encryption result of the algorithm found on the internet is incorrect. Even worse, the encryption result of this algorithm is the same as that of the correct one .)
3. If all parameters are correct, an error is returned. Check the security domain name configuration of the JS interface of the public account. There cannot be a prefix of http (s. There cannot be a port number. All callback addresses only support port 80.