Open zheng-liu-seattle opened 1 month ago
I spent days looking into this, using the EXACT code supplied by Sendgrid. Spent weeks with their support team who just kept sending me the same stackoverflow links that I'd already read. In the end I decided to remove the equivalent to this in their python code. const payload = JSON.stringify(req.body).split('},{').join('},\r\n{') + '\r\n';
I then removed it from the node js code and it worked. Poor documentation. The forums are full of it.
isValid is always false... verified both timestamp and signature are there.