Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an Unexpected critical error trying to Update an Item #338

Open
rkhe opened this issue Jan 16, 2025 · 0 comments
Open

Getting an Unexpected critical error trying to Update an Item #338

rkhe opened this issue Jan 16, 2025 · 0 comments

Comments

@rkhe
Copy link

rkhe commented Jan 16, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant