---
title: "Breaking change on Inventory endpoint for GET operation - better error handling"
description: "In the current solution, if you try to filter on an attribute on inventory which does not exist, you get an empty JSON response."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2022-06-14-breaking-change-on-inventory-endpoint-for-get-operation-better-error-handling/index.md
lastmod: 2022-06-14
---

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


# Breaking change on Inventory endpoint for GET operation - better error handling

Last modified June 14, 2022

2022-06-14


Label: api:inventory


Version: 9.01



In the current solution, if you try to filter on an attribute on inventory which does not exist, you get an empty JSON response.\
So, if you have misspelled or are trying to filter on an attribute that does not exist, you will not get any indication about this.

From version 9.01.0, the system will return 400 Bad Request for this operation, and gives an error message that the value you are trying to filter on does not exist.\
\-\
Example:

```json
{"message":"Attribute 'ACTIVE2' not found"}
```



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2022-06-14-breaking-change-on-inventory-endpoint-for-get-operation-better-error-handling/)
