# Webhook and wooocomerce module data structure issues

**URL:** <https://community.make.com/t/webhook-and-wooocomerce-module-data-structure-issues/47842>\
**Category:** Questions\
**Tags:** arrays, error, webhooks\
**Created:** [July 25, 2024, 2:44pm UTC](https://community.make.com/t/webhook-and-wooocomerce-module-data-structure-issues/47842 "2024-07-25T14:44:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan\_Hincapie](https://avatars.discourse-cdn.com/v4/letter/i/34f0e0/32.png) [@Ivan\_Hincapie](https://community.make.com/u/Ivan_Hincapie)\
**Post date:** [July 25, 2024, 2:44pm UTC](https://community.make.com/t/webhook-and-wooocomerce-module-data-structure-issues/47842/1 "2024-07-25T14:44:18Z")

</div>

I have a webhook capturing the data from a woocommerce, the issues are mainly two:

1. The data parsed changes, in some cases will include some data, in some other cases will show the missing data in a slight different data structure. This causes that by using specific variables in some cases will generate a missing token error, and in others will simply go through.

Data sample 1: First lines of code parsed

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/9/9958b7ea36ab4c768d458b53dc436aee05b01a73.png)

Data sample 2: First lines of code parsed, NOW missing the data shown above.

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

1. The metada, displays only 1 item on the webhook and woocomerce. Some items like line items in the checkout, if multiple products are included, only the first one on the list will be available to use as variable.

Data parsed:

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

Variable Options in webhook module:

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

---

<div class="post-metadata">

**Author:** ![Msquare\_Automation](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/msquare_automation/32/6634_2.png) [@Msquare\_Automation](https://community.make.com/u/Msquare_Automation)\
**Post date:** [July 26, 2024, 2:21am UTC](https://community.make.com/t/webhook-and-wooocomerce-module-data-structure-issues/47842/2 "2024-07-26T02:21:50Z")

</div>

HI @Ivan_Hincapie

To solve your issue, process a webhook order having all data filled. Once done, run the scenario.

This will help you with all variables shown for mapping.

**Regards,**  
_Msquare Automation - Gold Partner of Make_

> [Book a Free Consultation](https://calendly.com/msquarepro/meeting) | [Connect Live](https://calendly.com/msquarepro/msquareautomation-live)

Explore our [**YouTube Channel**](https://www.youtube.com/@msquareautomation) for valuable insights and updates!

---

<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 24, 2024, 2:24am UTC](https://community.make.com/t/webhook-and-wooocomerce-module-data-structure-issues/47842/3 "2024-10-24T02:24:40Z")

</div>

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


