intuit / intuit/QuickBooks-V3-DotNET-SDK

Getting an Unexpected critical error trying to Update an Item

Open
#338 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
121
Forks
145
Avg merge
17h 1m
Merged PRs (30d)
1

Description

Hi,

I'm having issues with `.Ipp.Exception.IdsException: Validation Exception was thrown.Details:Business Validation Error: Unexpected critical error. (-20996).` when trying to update an Item. There was no other detail on the exception except it's a Bad Request.

Library version: 14.6.4

**Sample request**
```
{
"Name": "{the-item-name}",
"Sku": null,
"Description": null,
"Active": false,
"ParentRef": null,
"FullyQualifiedName": null,
"Type": 8,
"PaymentMethodRef": null,
"UOMSetRef": null,
"IncomeAccountRef": {
"name": "Sales Inside",
"type": null,
"Value": "{income-account-ref-id}"
},
"PurchaseDesc": null,
"ExpenseAccountRef": null,
"COGSAccountRef": null,
"AssetAccountRef": null,
"PrefVendorRef": null,
"ManPartNum": null,
"DepositToAccountRef": null,
"SalesTaxCodeRef": null,
"PurchaseTaxCodeRef": null,
"ItemGroupDetail": null,
"ItemAssemblyDetail": null,
"ServiceType": null,
"ItemCategoryType": "Inventory",
"ItemEx": null,
"TaxClassificationRef": null,
"UQCDisplayText": null,
"UQCId": null,
"ClassRef": null,
"Id": "{quickbooks-id}",
"SyncToken": "0",
"MetaData": null,
"CustomField": null,
"AttachableRef": null,
"domain": null,
"NameAndId": null,
"Overview": null,
"HeaderLite": null,
"HeaderFull": null
}
```

I'm lost on how to further debug.
Any help is greatly appreciated. Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.