# Gmail API Activity Error

**URL:** <https://forum.uipath.com/t/gmail-api-activity-error/568096>\
**Category:** Studio\
**Tags:** properties-panel, question, studio, gsuite, activities\
**Created:** [July 29, 2023, 11:17am UTC](https://forum.uipath.com/t/gmail-api-activity-error/568096 "2023-07-29T11:17:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Salman\_Faries](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/salman_faries/32/379756_2.png) [@Salman\_Faries](https://forum.uipath.com/u/Salman_Faries)\
**Post date:** [July 29, 2023, 11:17am UTC](https://forum.uipath.com/t/gmail-api-activity-error/568096/1 "2023-07-29T11:17:51Z")

</div>

Hi,

Someone please help, when i use send email API activity, It’s showing the below error.

 ![image](https://global.discourse-cdn.com/uipath/original/4X/3/a/b/3ab587d2b6ebb638a58e412c2c2c8d38b706c6cd.png)  
 ![image](https://global.discourse-cdn.com/uipath/original/4X/4/c/3/4c3752d874cdfdf1be168f30cd63ec0d2537b6d2.png)

---

<div class="post-metadata">

**Author:** ![Parvathy](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/parvathy/32/484539_2.png) [@Parvathy](https://forum.uipath.com/u/Parvathy)\
**Post date:** [July 29, 2023, 11:21am UTC](https://forum.uipath.com/t/gmail-api-activity-error/568096/2 "2023-07-29T11:21:54Z")

</div>

Hi @Salman_Faries

Make sure you have made correct connection with your google account.

Hope it helps!!  
Regards,

---

<div class="post-metadata">

**Author:** ![Salman\_Faries](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/salman_faries/32/379756_2.png) [@Salman\_Faries](https://forum.uipath.com/u/Salman_Faries)\
**Post date:** [July 29, 2023, 11:24am UTC](https://forum.uipath.com/t/gmail-api-activity-error/568096/3 "2023-07-29T11:24:45Z")

</div>

Hi,

Without client ID and client secret how it will work? I need to send mail through API.

---

<div class="post-metadata">

**Author:** ![Parvathy](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/parvathy/32/484539_2.png) [@Parvathy](https://forum.uipath.com/u/Parvathy)\
**Post date:** [July 29, 2023, 11:26am UTC](https://forum.uipath.com/t/gmail-api-activity-error/568096/4 "2023-07-29T11:26:24Z")

</div>

@Salman_Faries  
It was typing mistake. Remove the quotes in to and type the email directly.  
It will solve the error.

Refer the image too.

 ![image](https://global.discourse-cdn.com/uipath/original/4X/e/7/7/e77535dccd52bf317f86114f10abfe2e162976a8.png)

Regards,

---

<div class="post-metadata">

**Author:** ![Salman\_Faries](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/salman_faries/32/379756_2.png) [@Salman\_Faries](https://forum.uipath.com/u/Salman_Faries)\
**Post date:** [July 29, 2023, 11:32am UTC](https://forum.uipath.com/t/gmail-api-activity-error/568096/5 "2023-07-29T11:32:18Z")

</div>

Thank you so much for this 🙂

---

<div class="post-metadata">

**Author:** ![Parvathy](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/parvathy/32/484539_2.png) [@Parvathy](https://forum.uipath.com/u/Parvathy)\
**Post date:** [July 29, 2023, 11:34am UTC](https://forum.uipath.com/t/gmail-api-activity-error/568096/6 "2023-07-29T11:34:43Z")

</div>

You’re Welcome @Salman_Faries

Happy Automation 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [August 1, 2023, 11:35am UTC](https://forum.uipath.com/t/gmail-api-activity-error/568096/7 "2023-08-01T11:35:34Z")

</div>

Closed on August 1, 2023, 11:35am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
