: FinalizePipeline endpoint returning "Invalid final data counts" — Section 1, Step 2.7

Hi team,

I’m stuck on the final step of the Section 1 hands-on exercise (N8N102). My FinalizePipeline HTTP Request keeps returning a 422 error with the message: "Invalid final data counts. One or more of your counts is incorrect."

My setup:

  • n8n version: 2.28.6 (Self-hosted on Hostinger VPS)
  • Assessment ID: 896ad0ac4b217499969229e5b02b1c23

What I’ve verified is working correctly:

  • GetOrders with pagination fetches 50 orders

  • GetCustomers runs in parallel (not chained)

  • MergeOrdersCustomers produces 50 enriched items

  • SendToOrdersQueue confirms orders_queued: 50

  • CheckSubscriptionTier splits 20 Enterprise / 30 others

  • FilterDelivered produces 12 items (non-delivered enterprise orders)

  • BatchPriorityOrders (batch size 5) → SendToPriorityQueue confirms 12 priority orders

  • GetCustomers has Continue (using error output) configured

  • SetFallbackCustomer connected to MergeOrdersCustomers error input

  • Retry On Fail enabled on both GetOrders and GetCustomers (3 tries, 1000ms)

    {
    “total_orders”: 50,
    “enterprise_count”: 12,
    “batch_size”: 5,
    “retry_enabled”: true,
    “error_handling_enabled”: true
    }

    What I’ve tried:

    • batch_size with both 5 and 10
    • enterprise_count with both 12 and 20
    • Raw JSON body (to preserve boolean types)
    • Adding error_handling_enabled: true (saw this mentioned in another thread)
    • All combinations of the above

    All attempts return the same 422 error. Can you check what values your endpoint expects for my assessment ID?

    Thank you.

Hello,

error_handling_enabled is not required. This was a bug that was removed.

cheers,

Hi @jamiemadden_n8n — I’m hitting the exact same issue as Joan_Andrade above.

Assessment ID: ecddac752ac7b5cdb2fe5b63179f85b3

n8n version: 2.29.10 (Self-hosted)

Verified working:

  • GetOrders with pagination → 50 orders
  • GetCustomers runs in parallel → 10 customers
  • MergeOrdersCustomers → 50 enriched items
  • SendToOrdersQueue confirms orders_queued: 50 (Order Queue Assessment Checkpoint passed)
  • CheckSubscriptionTier splits 20 Enterprise / 30 other
  • FilterDelivered → 12 undelivered enterprise orders
  • BatchPriorityOrders → SendToPriorityQueue confirms all 12 with priority_queued (Priority Orders Queue Assessment passed)
  • Retry On Fail enabled on GetOrders/GetCustomers (3 tries, 1000ms)
  • SetFallbackCustomer wired to GetCustomers error output → MergeOrdersCustomers

On FinalizePipeline I get:
422 - {"error":"Invalid final data counts. One or more of your counts is incorrect."}

I’ve tried:

  • enterprise_count as both 20 (total enterprise orders) and 12 (undelivered/priority-queued enterprise orders)
  • batch_size as both 10 and 5
  • Confirmed all values are sent as actual numbers (not strings) via expression mode

Same combinations that Joan_Andrade above reported failing. Could you check the backend validation for my Assessment ID, or confirm what values enterprise_count/batch_size should actually resolve to? Thanks!

Hello,

Batch should be 5. Counts are here in the screenshot.

Please ensure your data types are correct.

total_orders : number
enterprise_count : number
batch_size : number
retry_enabled: boolean (NOT string)

cheers