You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property 'hasOwnProperty' of undefined
at new ErrorMessage (src\Xml\Response\ErrorMessage.ts:34:27)
at new OnlineResponse (src\Xml\OnlineResponse.ts:51:34)
at C:\Users\user\WebstormProjects\intacct-sdk-js\src\Xml\RequestHandler.ts:66:20
at processTicksAndRejections (internal/process/task_queues.js:95:5)
In OnlineResponse.ts, this is the section throwing
if(this._authentication.status!=="success"){consterrorMessage=newErrorMessage(this._xml["response"]["operation"]["errormessage"]);thrownewResponseException("Response authentication status failure",errorMessage.errors);}
To replicate this, the company ID must be in pipe form testconsoleid|testclientid and the user ID in the console must be invalid. For whatever reason with this combo, Web Services returns the following XML response which is completely missing any sort of errormessage element in the operation block.
The following code
Throws the following
In OnlineResponse.ts, this is the section throwing
To replicate this, the company ID must be in pipe form
testconsoleid|testclientid
and the user ID in the console must be invalid. For whatever reason with this combo, Web Services returns the following XML response which is completely missing any sort oferrormessage
element in theoperation
block.The text was updated successfully, but these errors were encountered: