question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SendGrid demands categories to be set

See original GitHub issue

When we upgraded to the latest release, our emails stopped sending via SendGrid with the following error in the response:

"{\r\n  \"message\": \"The categories array, when used, must have at least one category.\",\r\n  \"field\": \"categories\",\r\n  \"help\": \"http://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#message.categories\"\r\n}"

Installed version: 3.0.2

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:15
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

11reactions
jazzmanrocommented, Apr 3, 2022

Workaround seems to be to set the .Tag property to some string.

1reaction
lahmacommented, Oct 5, 2022

I think a fix for this has already sneaked into master via this PR. So just a release away 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with Categories | Twilio
This will allow you to track emails based on your own categorization system. Categories must be in 7-bit encoding using the US-ASCII character...
Read more >
Retrieve all categories | Twilio
Retrieve all categories. Effective February 1, 2022, Twilio SendGrid will limit the number of stored category statistics available per user.
Read more >
Personalizations | Twilio
Learn how to use personalizations to customize your messages sent over the Web API v3.
Read more >
Statistics Overview | Twilio
The Top 5 Categories report allows you to see your top 5 most used categories by number of requests. Switch your view by...
Read more >
Getting Started with Transactional Email | Twilio
Using SendGrid to send Transactional Email. ... contain information a user wants or needs. They have the highest open rates across all categories...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found