# Correctly include request header in API call (Bexio)

**URL:** <https://community.make.com/t/correctly-include-request-header-in-api-call-bexio/33491>\
**Category:** Beginner Questions\
**Tags:** error, http\
**Created:** [April 11, 2024, 1:26pm UTC](https://community.make.com/t/correctly-include-request-header-in-api-call-bexio/33491 "2024-04-11T13:26:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tj-may-20](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@tj-may-20](https://community.make.com/u/tj-may-20)\
**Post date:** [April 11, 2024, 1:26pm UTC](https://community.make.com/t/correctly-include-request-header-in-api-call-bexio/33491/1 "2024-04-11T13:26:03Z")

</div>

Hi,

New [make.com](http://make.com) user here with limited technical knowhow 😃 I started to get familiar and have built a workflow creating Bexio (accounting software) orders for new Shopify orders. Most works smoothly now (see full scenario at the bottom), but I’m struggling with a part of the workflow to create invoices from an order.

Bexio is a verified app, but the specific endpoint isn’t included as a module, so I’m writing the call myself. I’ve created a simpler scenario to focus on the problematic part - see blueprint attached.

**Issue:**  
Whenever the scenario is run, I’m getting an error [415] Could not parse the data.  
The (in my opinion) exact same request from Postman works however.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/2/02b0df468db8c99a78060f3915eb489ac33b2697.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/b/0/b0bc3c5e3b833ad9f796a323138addb889b914c5.png)

Here is my scenario:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/6/a/6a7e8f70828b8c5b57653b4f84e6ae2912ba3727.png)

My hypothesis is that I’m incorrectly passing the header. When I remove the header (Accept: application/json) in my Postman request, I’m also getting an error 415:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/7/071a73cbf5cc642eccf05991988a229b2fb20bfb.png)

**Question:**  
Am I correction passing the header in [make.com](http://make.com)? Is something else wrong in my request that could explain the difference between [make.com](http://make.com) and Postman?

**Additional infos:**

- For reference, here is the API docs for the endpoint I’m trying to connect to [bexio API documentation](https://docs.bexio.com/#tag/Orders/operation/v2CreateInvoiceFromOrder).
- Authentication: In my Postman request I use a simple API token. In [make.com](http://make.com) I use the default authentication mechanism for the.
- Blueprint: [blueprint.json](https://community.make.com/uploads/short-url/7FpuA96jBHh9dCt77x2Ydjus82X.json) (17.0 KB)
- Full scenario for reference  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/1/3/1387950b1a51ab7ef7f2adb763b26d46438847e8.png)

Any help is greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Michaela-Inactive](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/michaela-inactive/32/29_2.png) [@Michaela-Inactive](https://community.make.com/u/Michaela-Inactive)\
**Post date:** [July 9, 2024, 12:09pm UTC](https://community.make.com/t/correctly-include-request-header-in-api-call-bexio/33491/2 "2024-07-09T12:09:34Z")

</div>

Hello @tj-may-20

My apologies for the late response and thank you for raising this here in the community.

I just wanted to let you know that this is a known issue on our end. It has been escalated to our development team, and they will address it as soon as their current priorities allow.

I will make sure to keep an eye on this and share any updates here when they become available. If you prefer to receive updates directly in your inbox, please [open a ticket with us](https://www.make.com/en/ticket?_gl=1*1s6702c*_gcl_au*MTkwNDcyODExOS4xNzE1MjMwODIz*_ga*Mjg4NTQ4MjU1LjE2OTk1OTcxOTY.*_ga_MY0CJTCDSF*MTcxODk0NTk1MS4zODEuMS4xNzE4OTUwNDgzLjYwLjAuMA..) and our support team will keep you informed.

We are very sorry for any trouble or inconvenience this may be causing.  
Thank you very much for your understanding and your patience while we work to resolve this. 🙏

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [October 7, 2024, 12:22pm UTC](https://community.make.com/t/correctly-include-request-header-in-api-call-bexio/33491/3 "2024-10-07T12:22:22Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


