Getting Sendgrid exception even though response code is 200

Created on 20 March 2019, over 5 years ago
Updated 15 March 2023, over 1 year ago

I updated the SendGrid module to version 8.x-1.2. I have read the changes made to the api and I understand that now an \Sendgrid\Exception is thrown if the code is not 200. My code worked fine before this update, but now even when the code is 200 I get a Sendgrid\exception. This is the error message:SendGrid\Exception: {"message":"success"} in SendGrid\Client->send() (line 112 of /Applications/MAMP/htdocs/.../.../vendor/fastglass/sendgrid/src/Client.php).

πŸ› Bug report
Status

Closed: outdated

Version

1.2

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024