---
title: "POST v1/SupplierInvoice responds with \"Object reference not set to an instance of an object.\" error when segmentvalue is missing for a given segment"
description: "Previously, if a required segmentId was missing a segmentValue, the system would respond via generic “Object reference not set to an instance of an object.” -error."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2026-05-12-post-v1-supplierinvoice-responds-with-object-reference-not-set-to-an-instance/index.md
lastmod: 2026-05-12
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/llms.txt


# POST v1/SupplierInvoice responds with "Object reference not set to an instance of an object." error when segmentvalue is missing for a given segment

Last modified May 12, 2026

2026-05-12


Label: api


Version: 10.96



Previously, if a required segmentId was missing a segmentValue, the system would respond via generic "Object reference not set to an instance of an object." -error.

This has now been fixed to correctly identify the missing data on the response message given back.



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2026-05-12-post-v1-supplierinvoice-responds-with-object-reference-not-set-to-an-instance/)
