# Section 1 finalize returns 422 "Invalid final data counts" despite correct payload

**URL:** <https://community.n8n.io/t/section-1-finalize-returns-422-invalid-final-data-counts-despite-correct-payload/309130>\
**Category:** Questions\
**Tags:** bug:unconfirmed\
**Created:** [August 23, 2026, 3:03pm UTC](https://community.n8n.io/t/section-1-finalize-returns-422-invalid-final-data-counts-despite-correct-payload/309130 "2026-08-23T15:03:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Anshul\_Namdev](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/anshul_namdev/32/178229_2.png) [@Anshul\_Namdev](https://community.n8n.io/u/Anshul_Namdev)\
**Post date:** [August 23, 2026, 3:08pm UTC](https://community.n8n.io/t/section-1-finalize-returns-422-invalid-final-data-counts-despite-correct-payload/309130/2 "2026-08-23T15:08:12Z")

</div>

Hi @muktern8n Welcome!  
The error names your counts, not your progress, so this is the payload rather than stale backend state. `batch_size` is the one value that doesn’t match Step 2.7, which uses 5. Set `BatchPriorityOrders` to a batch size of 5, re-run the whole workflow in one go, and finalize with `batch_size: 5`.  
See this:

> [@N8N102 Section 1 Hands-on Exercise: Building an API Integration Pipeline - FinalizePipeline 持續回傳「Progress incompleted」](https://community.n8n.io/t/n8n102-section-1-hands-on-exercise-building-an-api-integration-pipeline-finalizepipeline-progress-incompleted/302731/4):
>
> FinalizePipeline : envoie exactement total\_orders: 50, enterprise\_count: 12, batch\_size: 5, retry\_enabled: true, conforme au Step 2.7

---

_[View the full topic](https://community.n8n.io/t/section-1-finalize-returns-422-invalid-final-data-counts-despite-correct-payload/309130)._
