Skip to main content
Solved

RestClient ApiException Content

  • November 20, 2024
  • 2 replies
  • 62 views

wikusvorster42
Jr Varsity II
Forum|alt.badge.img

Hi, 

Executing the InventoryAdjustment in Postman I get the following known error:

"error": "Inserting  'IN Transaction' record raised at least one error. Please review the errors."

And in the details:

"LotSerialNbr": {

                "value": "--MFP73565",

                "error": "Lot/Serial Nbr. '--MFP73565' cannot be found in the system."

            },

Creating the InventoryAdjustment using the RestClient also gives an error, but it only gives me this error “Inserting  'IN Transaction' record raised at least one error. Please review the errors." when catching an ApiException. If I check the ErrorContent it is null.

 

How can I get the same result in the RestClient as in Postman where it returns the Lot/Serial Nbr error?

I am using version 4.1.0 of the RestClient client nuget package in c#.

Best answer by Dmitrii Naumov

@wikusvorster42 I think it is fixed in the latest version (5.4.0) 

2 replies

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • Answer
  • November 20, 2024

@wikusvorster42 I think it is fixed in the latest version (5.4.0) 


wikusvorster42
Jr Varsity II
Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • November 20, 2024

Thanks ​@Dmitrii Naumov, I will have a look.