# Api Connector error Unsupported Media Type

**URL:** <https://forum.bubble.io/t/api-connector-error-unsupported-media-type/176449>\
**Category:** APIs\
**Created:** [November 2, 2021, 12:43am UTC](https://forum.bubble.io/t/api-connector-error-unsupported-media-type/176449 "2021-11-02T00:43:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nagendra.reddy](https://avatars.discourse-cdn.com/v4/letter/n/4da419/32.png) [@nagendra.reddy](https://forum.bubble.io/u/nagendra.reddy)\
**Post date:** [November 2, 2021, 12:43am UTC](https://forum.bubble.io/t/api-connector-error-unsupported-media-type/176449/1 "2021-11-02T00:43:29Z")

</div>

Hi,

```
I have created a api using api connector. I have the tested the api body and request using postman first and then started implementing the same in API Connector as well. But getting this error :

```

There was an issue setting up your call.

Raw response for the API  
Status code 415  
Unsupported Media Type

This is my Postman snippet:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/6/7/6767664b3a0b2c94402bef479957d3a47c2eabfd.png)  
This is my API Connector snippet:  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/2/8/28158797fdc04bc29d2a39939b1d0269fde9c353.png)  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/e/0/e03a4e2856af356968950b856a4dc05c94845370.png)

I am using same JSON as body and literally copied the same request from Postman. Let me know if someone faced this issue.

Thanks,  
Nagendra.

---

<div class="post-metadata">

**Author:** ![jared.gibb](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jared.gibb/32/123329_2.png) [@jared.gibb](https://forum.bubble.io/u/jared.gibb)\
**Post date:** [November 2, 2021, 12:52am UTC](https://forum.bubble.io/t/api-connector-error-unsupported-media-type/176449/2 "2021-11-02T00:52:18Z")

</div>

Get your headers in!

---

<div class="post-metadata">

**Author:** ![nagendra.reddy](https://avatars.discourse-cdn.com/v4/letter/n/4da419/32.png) [@nagendra.reddy](https://forum.bubble.io/u/nagendra.reddy)\
**Post date:** [November 2, 2021, 1:34am UTC](https://forum.bubble.io/t/api-connector-error-unsupported-media-type/176449/3 "2021-11-02T01:34:16Z")

</div>

Thanks @jared.gibb . Need to add Content-type explicitly in the headers section.
