# Sendgrid Authorization Failed : Solution

**URL:** <https://forum.adalo.com/t/sendgrid-authorization-failed-solution/3734>\
**Category:** Resources & Tutorials\
**Created:** [September 2, 2020, 10:38am UTC](https://forum.adalo.com/t/sendgrid-authorization-failed-solution/3734 "2020-09-02T10:38:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thibault\_Ottho](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Thibault\_Ottho](https://forum.adalo.com/u/Thibault_Ottho)\
**Post date:** [September 2, 2020, 10:38am UTC](https://forum.adalo.com/t/sendgrid-authorization-failed-solution/3734/1 "2020-09-02T10:38:23Z")

</div>

Hi,

I found a solution to resolve authorization to sendgrid api “Wrong credential” =\> link to this topic [https://forum.adalo.com/t/sendgrid-authorization-failed/3381/4](https://forum.adalo.com/t/sendgrid-authorization-failed/3381/4)

To make sendgrid work, you have to add “bearer” before your API key :

 ![Image 2020-09-02 at 12.36.57 PM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/5/5ecb710c593de390d6a2e36102fad439eebbaa8c.png)

Hope it helps you =)

---

<div class="post-metadata">

**Author:** ![Kamal](https://avatars.discourse-cdn.com/v4/letter/k/a698b9/32.png) [@Kamal](https://forum.adalo.com/u/Kamal)\
**Post date:** [October 8, 2020, 4:43pm UTC](https://forum.adalo.com/t/sendgrid-authorization-failed-solution/3734/2 "2020-10-08T16:43:15Z")

</div>

Important step is 2FA ( 2 factor Authorization) in your Sendgrid account. Without that, it does not authenticate. With that enabled, it works like charm.

---

<div class="post-metadata">

**Author:** ![KenanDada](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/kenandada/32/8455_2.png) [@KenanDada](https://forum.adalo.com/u/KenanDada)\
**Post date:** [November 3, 2020, 10:06pm UTC](https://forum.adalo.com/t/sendgrid-authorization-failed-solution/3734/3 "2020-11-03T22:06:41Z")

</div>

it didn’t work  
Neither with 2FA or bearer  
i dont know what the problem is i am sick of it

---

<div class="post-metadata">

**Author:** ![Fafa](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@Fafa](https://forum.adalo.com/u/Fafa)\
**Post date:** [December 21, 2020, 1:25pm UTC](https://forum.adalo.com/t/sendgrid-authorization-failed-solution/3734/4 "2020-12-21T13:25:01Z")

</div>

Really stuck on it ☹

---

<div class="post-metadata">

**Author:** ![tdhi](https://avatars.discourse-cdn.com/v4/letter/t/c77e96/32.png) [@tdhi](https://forum.adalo.com/u/tdhi)\
**Post date:** [December 21, 2020, 3:57pm UTC](https://forum.adalo.com/t/sendgrid-authorization-failed-solution/3734/5 "2020-12-21T15:57:15Z")

</div>

When you copy and paste the Bearer SG… into Adalo’s header, sometimes a space is added onto the end of the string. Check to make sure you delete that extra space.

The other thing I do I delete the space between Bearer and SG, and then re-enter the space in the Adalo header. I’ve found the editor is temperamental. I’m not sure if what I’m doing helps or works, but so far my Sendgrid is firing correctly and I’ve moved onto the next problem, which is that all emails are going to spam.

---

<div class="post-metadata">

**Author:** ![will\_complab](https://avatars.discourse-cdn.com/v4/letter/w/858c86/32.png) [@will\_complab](https://forum.adalo.com/u/will_complab)\
**Post date:** [July 21, 2021, 9:25am UTC](https://forum.adalo.com/t/sendgrid-authorization-failed-solution/3734/6 "2021-07-21T09:25:39Z")

</div>

Deleting the space between the Bearer and SG and reentering it worked for me.

---

<div class="post-metadata">

**Author:** ![kamaoji](https://avatars.discourse-cdn.com/v4/letter/k/c2a13f/32.png) [@kamaoji](https://forum.adalo.com/u/kamaoji)\
**Post date:** [February 9, 2022, 3:06am UTC](https://forum.adalo.com/t/sendgrid-authorization-failed-solution/3734/7 "2022-02-09T03:06:59Z")

</div>

For anyone reading this later, was facing a similar issue with Airtable API. Request was returning 401 with Authorization error. Resolved it as above by typing in the token rather than copy pasting. Thanks!
