Skip to content
This repository was archived by the owner on Oct 15, 2022. It is now read-only.
This repository was archived by the owner on Oct 15, 2022. It is now read-only.

Error response from NetSuite results in thrown error #154

@enocom

Description

@enocom

When NetSuite responds in an unexpected way, this library throws an error. Stack trace and error message below.

{
    "errorType": "Error",
    "errorMessage": "Element [HTML] could not be unmarshalled as is not known in this context and the property does not allow DOM content.",
    "stack": [
        "Error: Element [HTML] could not be unmarshalled as is not known in this context and the property does not allow DOM content.",
        "    at Class.unmarshalElement (/var/task/node_modules/jsonix/jsonix.js:2003:11)",
        "    at Class.unmarshalDocument (/var/task/node_modules/jsonix/jsonix.js:2130:8)",
        "    at Class.unmarshalString (/var/task/node_modules/jsonix/jsonix.js:2089:15)",
        "    at deserializeSoapResponse (/var/task/node_modules/@stedi-oss/typesuite/lib/soap.js:50:41)",
        "    at Object.sendSoapRequest (/var/task/node_modules/@stedi-oss/typesuite/lib/soap.js:85:34)"
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions