My Products
Help
andreasaulin
CHAMPION *

Attribute XXX not found

by andreasaulin

Starting yesterday afternoon requests to the inventory endpoint with attributes parameter failes with 400 Bad Request

 

GET 
https://integration.visma.net/API/controller/api/v1/Inventory?addCostPriceStatistics=true&expandSupplierDetails=true&expandAttachment=true&lastModifiedDateTime=2022-04-05 15:46:14&lastModifiedDateTimeCondition=%3E&attributes=%7B%22WEBVARE%22%3A1%7D&pageNumber=1

400 Bad Request
{
	"message": "Attribute 'WEBVARE' not found"
}

 

3 REPLIES 3
Yıldırım
VISMA

by Yıldırım

ℹ️ Inventory endpoint improvement for 8.91 has been disabled
A fix is currently being worked on this issue.

 

by Magnus Johnsen

Hi,

Using the same parameters you have provided we are not able to reproduce this issue.

Could you please try again and let us know if you are still having the same issue?

andreasaulin
CHAMPION *

Hi

 

The error came from clients with no WEBVARE attribute.

The API also started to show Errors if we asked for a value type other than the one specified on the attribute, like 1 instead of B2C.

 

Got in contact with you through other channels and validation of the attributes parameter was a new feature toggle for the whole API that has now been switched off.

 

Working again now.