Skip to content

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

@rkhe

Description

@rkhe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions