# SendGrid API Bridge Error in Mautic 5.0.3

**URL:** <https://forum.mautic.org/t/sendgrid-api-bridge-error-in-mautic-5-0-3/31239>\
**Category:** Mautic 5 Install/Upgrade Support\
**Tags:** community, discussion, email\
**Created:** [March 12, 2024, 10:51am UTC](https://forum.mautic.org/t/sendgrid-api-bridge-error-in-mautic-5-0-3/31239 "2024-03-12T10:51:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamrahulks](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/iamrahulks/32/11539_2.png) [@iamrahulks](https://forum.mautic.org/u/iamrahulks)\
**Post date:** [March 12, 2024, 10:51am UTC](https://forum.mautic.org/t/sendgrid-api-bridge-error-in-mautic-5-0-3/31239/1 "2024-03-12T10:51:00Z")

</div>

**Your software**  
My Mautic version is: 5.0.3  
My PHP version is: 8.1.27  
My Database type and version is: mysql Ver 15.1 Distrib 10.3.39-MariaDB, for debian-linux-gnu (x86\_64) using readline 5.2

**Your problem**  
My problem is: I upgraded mautic from 4.4.10 to 5.0.3 after that new feature is showing EMAIL DSN.

I tried install `composer require symfony/sendgrid-mailer` but not sure where it is getting installed.

Please guide the correct path to install this sendgrid-mailer.

These errors are showing in the log:  
Unable to send emails via “sendgrid” as the bridge is not installed; try running “composer require symfony/sendgrid-mailer”.

---

<div class="post-metadata">

**Author:** ![DogByteMarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dogbytemarketing/32/11625_2.png) [@DogByteMarketing](https://forum.mautic.org/u/DogByteMarketing)\
**Post date:** [March 17, 2024, 8:33am UTC](https://forum.mautic.org/t/sendgrid-api-bridge-error-in-mautic-5-0-3/31239/2 "2024-03-17T08:33:50Z")

</div>

You’ll need to clear your cache after requiring a transport. You can do this using the [Command Line Interface](https://docs.mautic.org/en/5.x/configuration/command_line_interface.html):

`mautic:cache:clear`

There were a couple times this didn’t work and we had to manually clear cache.

---

<div class="post-metadata">

**Author:** ![lcallander](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lcallander/32/9305_2.png) [@lcallander](https://forum.mautic.org/u/lcallander)\
**Post date:** [April 16, 2024, 9:08pm UTC](https://forum.mautic.org/t/sendgrid-api-bridge-error-in-mautic-5-0-3/31239/3 "2024-04-16T21:08:00Z")

</div>

Having the same issue, having done this on my A2hosting cpanel - Terminal, I received this error:

`bash:bin/console: Permision denied`

---

<div class="post-metadata">

**Author:** ![marcus42](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@marcus42](https://forum.mautic.org/u/marcus42)\
**Post date:** [April 16, 2024, 9:39pm UTC](https://forum.mautic.org/t/sendgrid-api-bridge-error-in-mautic-5-0-3/31239/4 "2024-04-16T21:39:52Z")

</div>

Sounds like a permission issue  
`chmod a+x [path/to/mautic/]bin/console`

Or, invoke it using PHP  
`php [path/to/mautic/]bin/console mautic:cache:clear`

---

<div class="post-metadata">

**Author:** ![lcallander](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lcallander/32/9305_2.png) [@lcallander](https://forum.mautic.org/u/lcallander)\
**Post date:** [April 16, 2024, 10:09pm UTC](https://forum.mautic.org/t/sendgrid-api-bridge-error-in-mautic-5-0-3/31239/5 "2024-04-16T22:09:59Z")

</div>

@marcus42 thanks for the speedy reply!  
(brave newbie here)  
I gave that a roll, and I think it worked. I got no response from Terminal other then a fresh prompt line.

Went back into Email settings and received the same error.  
Perhaps you can help me trouble shoot this too!  
My Mautic version: v5.0.4  
My PHP Version: 8.1.27

EMAIL SETTINGS:

 ![Screenshot 2024-04-16 180553](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/3/3d9ac4f79f0823c0065ba59fcd4f5efbd0e42aa8.png)

.env File:

 ![env](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/230e807ff6e87dc8ecf2a349a77ba6b8b9d897c5.png)

---

<div class="post-metadata">

**Author:** ![marcus42](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@marcus42](https://forum.mautic.org/u/marcus42)\
**Post date:** [April 17, 2024, 1:06am UTC](https://forum.mautic.org/t/sendgrid-api-bridge-error-in-mautic-5-0-3/31239/6 "2024-04-17T01:06:24Z")

</div>

No output == success most likely.

Regarding your second issue;  
I would get rid of the “sengrid+” in the “sendgrid+smtp” and give it a try.

---

<div class="post-metadata">

**Author:** ![lcallander](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lcallander/32/9305_2.png) [@lcallander](https://forum.mautic.org/u/lcallander)\
**Post date:** [April 22, 2024, 4:56pm UTC](https://forum.mautic.org/t/sendgrid-api-bridge-error-in-mautic-5-0-3/31239/7 "2024-04-22T16:56:16Z")

</div>

Hi @marcus42 ,  
Thanks for continuing with me here… when I try that I get this error:

 ![Screenshot 2024-04-22 125519](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/a8255a05b3bc9147ff9022e9ab7e23713c806598.png)
