# Email send issue

**URL:** <https://forum.adalo.com/t/email-send-issue/16566>\
**Category:** External Collections, Custom Actions & Collections\
**Created:** [August 29, 2021, 2:57pm UTC](https://forum.adalo.com/t/email-send-issue/16566 "2021-08-29T14:57:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashishtapkir](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@ashishtapkir](https://forum.adalo.com/u/ashishtapkir)\
**Post date:** [August 29, 2021, 2:57pm UTC](https://forum.adalo.com/t/email-send-issue/16566/1 "2021-08-29T14:57:55Z")

</div>

Hey guys, I’m trying to send a message using adalo I got error 401.  
then I’m using postman with the same credential that works.  
what can I do?

 ![error 401](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/f/f470acebddaa8f8ebea4487edc7b7d39a2148eaa.png)  
 ![postman](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/5/555982351f9f702d2c04463929cabffd2fb99a21.png)

---

<div class="post-metadata">

**Author:** ![berwickgeek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/berwickgeek/32/10804_2.png) [@berwickgeek](https://forum.adalo.com/u/berwickgeek)\
**Post date:** [August 30, 2021, 8:45am UTC](https://forum.adalo.com/t/email-send-issue/16566/2 "2021-08-30T08:45:22Z")

</div>

In your custom action configuration have you configured the same headers as you have done in postman? Can you share screenshot of that page in up the custom action?

---

<div class="post-metadata">

**Author:** ![ashishtapkir](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@ashishtapkir](https://forum.adalo.com/u/ashishtapkir)\
**Post date:** [August 31, 2021, 11:29am UTC](https://forum.adalo.com/t/email-send-issue/16566/3 "2021-08-31T11:29:58Z")

</div>

Hey Berwickgeek, Thank you for the reply.  
In custom action configuration & postman I configure the same headers look at the screenshot.

 ![2 Adalo](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/6/6408037c32bb8c8b17ce5efb99bf5fb632047586.png)

 ![1 Adalo](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/7/714c0844cfef79b70ba13716ae38ef704468a18c.png)  
 ![1 postman](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/8/8b1e1d46fea8c489318f11984c70aceafbd11414.jpeg)

---

<div class="post-metadata">

**Author:** ![berwickgeek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/berwickgeek/32/10804_2.png) [@berwickgeek](https://forum.adalo.com/u/berwickgeek)\
**Post date:** [August 31, 2021, 12:24pm UTC](https://forum.adalo.com/t/email-send-issue/16566/4 "2021-08-31T12:24:25Z")

</div>

Check your token, you’ve got “Beare” and it should be “Bearer”

---

<div class="post-metadata">

**Author:** ![ashishtapkir](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@ashishtapkir](https://forum.adalo.com/u/ashishtapkir)\
**Post date:** [August 31, 2021, 1:59pm UTC](https://forum.adalo.com/t/email-send-issue/16566/5 "2021-08-31T13:59:20Z")

</div>

> [@berwickgeek](#):
>
> Bearer

The same error is happening

! [3 Adalo|690x467](https://forum.adalo.com/uploads/short-url/t0kMSKQZb4oYuPexr06f0P4DJmn.png)

---

<div class="post-metadata">

**Author:** ![berwickgeek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/berwickgeek/32/10804_2.png) [@berwickgeek](https://forum.adalo.com/u/berwickgeek)\
**Post date:** [August 31, 2021, 5:54pm UTC](https://forum.adalo.com/t/email-send-issue/16566/6 "2021-08-31T17:54:41Z")

</div>

Maybe try adding a second header for content type:

```auto
Content-Type: application/json

```
