# Sendgrid by Co-Pilot error

**URL:** <https://forum.bubble.io/t/sendgrid-by-co-pilot-error/293940>\
**Category:** Need help\
**Created:** [November 19, 2023, 9:50pm UTC](https://forum.bubble.io/t/sendgrid-by-co-pilot-error/293940 "2023-11-19T21:50:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hello.plannwin](https://avatars.discourse-cdn.com/v4/letter/h/ac8455/32.png) [@hello.plannwin](https://forum.bubble.io/u/hello.plannwin)\
**Post date:** [November 19, 2023, 9:50pm UTC](https://forum.bubble.io/t/sendgrid-by-co-pilot-error/293940/1 "2023-11-19T21:50:37Z")

</div>

Hi All,

I am getting this error from the plugin, driving me nuts.  
Doesn’t matter what I do, doesn’t seem to fix it.  
Tried all three send options (text only, custom, send email), tried dynamic data and static, uninstalling and reinstalling, and checked my privacy settings). Nothing works.

I have the same plugin with another app and it works fine.

Any tips?

Plugin action SendGrid - Send email (custom) error:  
TypeError: context.request is not a function  
at eval (eval at build\_function (/var/task/util/util\_harness.js:38:12), :162:29)  
at eval (eval at build\_function (/var/task/util/util\_harness.js:38:12), :188:8)  
at /var/task/plugin\_api\_v4\_alpha.js:198:35  
at harness (/var/task/harness.js:115:21)  
at /var/task/harness.js:154:70  
at withGlobalHandlers (/var/task/harness.js:66:41)  
at Runtime.myHandler [as handler] (/var/task/harness.js:154:16)  
at Runtime.handleOnceNonStreaming (file:///var/runtime/index.mjs:1173:29)

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [November 19, 2023, 9:57pm UTC](https://forum.bubble.io/t/sendgrid-by-co-pilot-error/293940/2 "2023-11-19T21:57:15Z")

</div>

Pinging @copilot for visibility

---

<div class="post-metadata">

**Author:** ![copilot](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/copilot/32/32859_2.png) [@copilot](https://forum.bubble.io/u/copilot)\
**Post date:** [November 19, 2023, 10:26pm UTC](https://forum.bubble.io/t/sendgrid-by-co-pilot-error/293940/3 "2023-11-19T22:26:05Z")

</div>

Thanks for the callout @johnny!

Hey @hello.plannwin,

The error you’re seeing is an artifact of the old plugin version. Bubble plugins are required to update to the latest plugin version so there may be some bugs. We’ve already received a few similar reports and they should be addressed shortly. For now, we recommend reverting to the whichever previous version of the plugin you had and things should be back to normal!

Feel free to reach out to us at [Copilot - Contact Us](https://withcopilot.com/contact) if you continue to experience issues after the new plugin updates are made available! 🙂

---

<div class="post-metadata">

**Author:** ![hello.plannwin](https://avatars.discourse-cdn.com/v4/letter/h/ac8455/32.png) [@hello.plannwin](https://forum.bubble.io/u/hello.plannwin)\
**Post date:** [November 20, 2023, 12:04am UTC](https://forum.bubble.io/t/sendgrid-by-co-pilot-error/293940/4 "2023-11-20T00:04:24Z")

</div>

@copilot @johnny

Thanks for the quick response.

The error went away when reverting back to the prior versions of the plugin, unfortunately, the email still not getting sent. Check the Sendgrid log and nothing was sent to Sendgrid.  
I guess I’ll wait till @copilot update the plugin.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [January 28, 2024, 9:50pm UTC](https://forum.bubble.io/t/sendgrid-by-co-pilot-error/293940/5 "2024-01-28T21:50:40Z")

</div>

Closed on January 28, 2024, 9:50pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
