I got an error in decode the webhook event in GO L...
# helpdesk
s
I got an error in decode the webhook event in GO Lang: • Error: could not verify authenticity of message • Error at : ◦
// verify checksum
◦
_sha_ := sha256.Sum256(data)
◦
_hash_ := base64.StdEncoding.EncodeToString(sha[:])
◦ ◦
if claims.Sha256 != hash {
◦
return *nil*, ErrInvalidChecksum
◦
}
👀 1