# Endpoint Definition payloads

**URL:** <https://community.nextw.com/t/endpoint-definition-payloads/1795>\
**Category:** Nextworld Platform\
**Created:** [March 5, 2026, 9:15pm UTC](https://community.nextw.com/t/endpoint-definition-payloads/1795 "2026-03-05T21:15:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesW](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/jamesw/32/131_2.png) [@JamesW](https://community.nextw.com/u/JamesW)\
**Post date:** [March 5, 2026, 9:15pm UTC](https://community.nextw.com/t/endpoint-definition-payloads/1795/1 "2026-03-05T21:15:45Z")

</div>

In endpoint definition, we have values NOT being mapped but in the sample payload. As a result, those unmapped values are passing in from the sample payload. Based on the help text I would assume null would be used, should this sample be sent?

---

<div class="post-metadata">

**Author:** ![ian.p](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/ian.p/32/427_2.png) [@ian.p](https://community.nextw.com/u/ian.p)\
**Post date:** [March 5, 2026, 9:18pm UTC](https://community.nextw.com/t/endpoint-definition-payloads/1795/2 "2026-03-05T21:18:21Z")

</div>

If I understand you correctly, you’ll want to set the `Null Handling Mode` for that mapping. It sounds like the current mode is `Use Sample Payload Value` and you want either `Use Null` or `Remove Key and Value`.

If nothing is selected for the `Null Handling Mode`, it should default to `Use Null`. If that’s not what’s happening … this sounds like a bug.

---

<div class="post-metadata">

**Author:** ![brandt.koos](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/brandt.koos/32/917_2.png) [@brandt.koos](https://community.nextw.com/u/brandt.koos)\
**Post date:** [June 10, 2026, 9:22am UTC](https://community.nextw.com/t/endpoint-definition-payloads/1795/3 "2026-06-10T09:22:16Z")

</div>

Hi Ian, this works perfectly. Thanks. I have a related question. I have an API that returns Info plus records, something like

{ “itemBaseOutput”: {

```auto
"sizeOutput": {

  "moreData": true,

  "recordsInSearch": 2066

},

"itemBaseDataList": [

  {

    "supplierNumber": 9999,

    "itemNumber": "string",

    "description": "string"

  },

  {

    "supplierNumber": 9999,

    "itemNumber": "string",

    "description": "string"

  }

]

```

}

}

It works perfectly, but when there are no records returned, I have a lot of “errors” in the endpoint log for all the fields in the detail it cannot map beacuse they are not present in the JSON.

Is there a way to make the mapping optional, similar to the null handling on the input side?

---

<div class="post-metadata">

**Author:** ![ian.p](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/ian.p/32/427_2.png) [@ian.p](https://community.nextw.com/u/ian.p)\
**Post date:** [June 10, 2026, 1:58pm UTC](https://community.nextw.com/t/endpoint-definition-payloads/1795/4 "2026-06-10T13:58:24Z")

</div>

@brandt

> [@brandt.koos](#):
>
> Is there a way to make the mapping optional, similar to the null handling on the input side?

There is a backlog idea for this and I will tag this discussion to it. Currently it is not possible to suppress all those `Failure to map response to response table` rows that end up in endpoint logging for endpoints that have dynamic responses.

---

<div class="post-metadata">

**Author:** ![brandt.koos](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/brandt.koos/32/917_2.png) [@brandt.koos](https://community.nextw.com/u/brandt.koos)\
**Post date:** [June 11, 2026, 1:45pm UTC](https://community.nextw.com/t/endpoint-definition-payloads/1795/6 "2026-06-11T13:45:08Z")

</div>

Thanks Ian. It is a bit trouble some if you get 3000 records from an API, each missing one or more fields… Then searching and finding real problems are …

---

<div class="post-metadata">

**Author:** ![ian.p](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/ian.p/32/427_2.png) [@ian.p](https://community.nextw.com/u/ian.p)\
**Post date:** [June 11, 2026, 1:59pm UTC](https://community.nextw.com/t/endpoint-definition-payloads/1795/7 "2026-06-11T13:59:12Z")

</div>

@brandt.koos I agree. I’ve sometimes resorted to exporting Endpoint Logging to CSV and using Excel to filter our those junk rows.

---

<div class="post-metadata">

**Author:** ![brandt.koos](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/brandt.koos/32/917_2.png) [@brandt.koos](https://community.nextw.com/u/brandt.koos)\
**Post date:** [July 10, 2026, 8:39am UTC](https://community.nextw.com/t/endpoint-definition-payloads/1795/8 "2026-07-10T08:39:04Z")

</div>

We have now notice that if we have a large recordset coming back, our logic block fail with a timeout writing these endpoint records. This means our user get a Timeout error which we cannot trap and manage. Switching off the endpoint logging bypass the problem, but that means we have no record of what failed at the response level. This is a real problem that will need addressing…

The error was: Execution of logic block was cancelled… So the endpoint did fetch the data and the processing of the mapping is what actually fails…

---

<div class="post-metadata">

**Author:** ![ian.p](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/ian.p/32/427_2.png) [@ian.p](https://community.nextw.com/u/ian.p)\
**Post date:** [July 10, 2026, 2:02pm UTC](https://community.nextw.com/t/endpoint-definition-payloads/1795/9 "2026-07-10T14:02:28Z")

</div>

@brandt.koos please submit a ticket, with reproduction steps if possible, for the timeout problem.
