My Products
Help
Anonymous
Not applicable

Update Inventory Item

by Anonymous (Updated ‎11-11-2020 13:57 ( )

Getting Error: 'tstamp' cannot be empty when trying to update inventory item through API. It doesn't happen on all updates for all items, but we doesn't send time object with any call. 

 

Anyone familiar with this response? 


Best,

Gustav

6 REPLIES 6
Accepted solution
Yıldırım
VISMA

by Yıldırım (Updated ‎30-12-2020 14:54 by Yıldırım VISMA )

by Magnus Johnsen

Hi,

 

Since the forum is international we would appreciate that communication is done in English.

 

As for the issue you are having, could you please provide request JSON, full URL as well as the response HTTP status code and full error message.

 

We recommend that you have a look at this article to make it easier when reporting an issue:

API incidents - Troubleshooting and reporting 

Anonymous
Not applicable

by Anonymous (Updated ‎12-11-2020 10:41 ( )
Sure, here it is:
 
 
{
"type": {
"value": "FinishedGoodItem"
},
"description": {
"value": "Frog MTB 69 Grå/Grön 10:15 12nov"
},
"itemClass": {
"value": "14"
},
"defaultPrice": {
"value": 6312
}
}
 
{
  "message": "Error: 'tstamp' cannot be empty."
}
response HTTP status code: 400 Bad Request
 
Thanks!

by Magnus Johnsen (Updated ‎12-11-2020 10:53 by Magnus Johnsen VISMA )

Hi,

We are not able to reproduce the issue using the same JSON.

Could you please check in the UI if there are any warnings on the item(Stock item: ScreenId=IN2025PL /  Non-stock item: ScreenId=IN2020PL)?

Also, please check if you have issues updating any other items. 


Thank you. 

Anonymous
Not applicable

by Anonymous

We're getting the same issue with other items. Can't see any warnings in user interface. 

by Magnus Johnsen

Hi,

Could you please check if you are getting the same issue in other endpoints as well?

After this, could you please send us the below to developersupport@visma.com:

  • API client ID
  • Ipp-Company-ID
  • Company Name
  • All headers sent in JSON request

Thank you.