# SendGrid - NoMethodError (undefined method \`\[\]' for nil:NilClass)

**URL:** <https://meta.discourse.org/t/sendgrid-nomethoderror-undefined-method-for-nil-nilclass/285221>\
**Category:** Bug\
**Created:** [November 11, 2023, 10:24pm UTC](https://meta.discourse.org/t/sendgrid-nomethoderror-undefined-method-for-nil-nilclass/285221 "2023-11-11T22:24:31Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![cultiv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cultiv/32/483312_2.png) [@cultiv](https://meta.discourse.org/u/cultiv)\
**Post date:** [February 23, 2025, 9:28am UTC](https://meta.discourse.org/t/sendgrid-nomethoderror-undefined-method-for-nil-nilclass/285221/11 "2025-02-23T09:28:49Z")

</div>

Made a PR!

[https://github.com/discourse/discourse/pull/31460](https://github.com/discourse/discourse/pull/31460)

---

_[View the full topic](https://meta.discourse.org/t/sendgrid-nomethoderror-undefined-method-for-nil-nilclass/285221)._
