# Adding headers disables ability to call API from client side

**URL:** <https://forum.bubble.io/t/adding-headers-disables-ability-to-call-api-from-client-side/216350>\
**Category:** APIs\
**Created:** [July 21, 2022, 1:20am UTC](https://forum.bubble.io/t/adding-headers-disables-ability-to-call-api-from-client-side/216350 "2022-07-21T01:20:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleksei](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@aleksei](https://forum.bubble.io/u/aleksei)\
**Post date:** [July 21, 2022, 1:20am UTC](https://forum.bubble.io/t/adding-headers-disables-ability-to-call-api-from-client-side/216350/1 "2022-07-21T01:20:40Z")

</div>

It looks like adding either shared headers or directly to the API call disables the ability for that call to be made on the client side. Is there a way to get around it?

---

<div class="post-metadata">

**Author:** ![ankur1](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@ankur1](https://forum.bubble.io/u/ankur1)\
**Post date:** [July 21, 2022, 2:56am UTC](https://forum.bubble.io/t/adding-headers-disables-ability-to-call-api-from-client-side/216350/2 "2022-07-21T02:56:35Z")

</div>

Share a screenshot of how you are setting up the API and how you are trying to call the API.

**Ankur@ Nocodetalks**  
Looking for a Bubble Coach? **[Check out here](https://nocodetalkss.gumroad.com/l/bubble_mentorship)**

---

<div class="post-metadata">

**Author:** ![aleksei](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@aleksei](https://forum.bubble.io/u/aleksei)\
**Post date:** [July 22, 2022, 4:55am UTC](https://forum.bubble.io/t/adding-headers-disables-ability-to-call-api-from-client-side/216350/3 "2022-07-22T04:55:32Z")

</div>

In this configuration I get the checkbox “attempt to make the call from the browser”

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/5/f/5fb34ac3b2dbb9e97a37b06675819512171a4c63.png)

the moment you add a shared header or a header to the individual call, the option of calling from the browser disappears

* * *

Shared header

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/d/0/d0cf5a772bbe03b2557e894edc6cd0c7fb48e8e2.png)

* * *

Call header

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/4/9/490cc4475997ec9f790d07f1cf501691d3ccdc79.png)
