NetSuite Script Error: Error getting the transaction - UNEXPECTED_ERROR null

NetSuite Script Error: Error getting the transaction - UNEXPECTED_ERROR null


This happens when you try to retrieve a transaction (server side) and the transaction has not been written to the server yet. This can happen when retrieving a sales order or when you are trying to do an "on-demand" search. 

Please wait a while and when the transaction is written, you should be able to retrieve it. 

    • Related Articles

    • NetSuite Script Error: Item Sync - Unexpected Error

      "Unexpected Error" can have many causes. It is important that you log with "bug" with NetSuite so they can tell you exactly what it is. One thing to look at is the number of items you are syncing. We suspect that some of these errors could be due to ...
    • NetSuite Script Error: 'You must enter at least one line item for this transaction'

      In the context of SuitePOS, this (somewhat misleading) error can can experienced when a return (or sale) is made and the script SPOS Return (or SPOS Sale) is executed. This occurs because the "Customer (or Anonymous Customer)" for which the ...
    • NetSuite Script Error: TRANS_UNBLANCD

      When a Sale or Return is written to NetSuite you may get this error thrown. For the most part, this means there is something wrong with the configuration of NetSuite and how it related to the configuration of SuitePOS. The most common issue is where ...
    • NetSuite Script Error: NetSuite Data Center Error During a Sync

      Once in a while, during a sync, a "NetSuite Data Center" error message may pop up. This is thrown by design and is as a result of SuitePOS not being able to obtain the data center endpoint NetSuite uses for the REST API's for your account. This is ...
    • NetSuite Script Error: Missing required field for index 0: custbody_spos_s4token

      This is a somewhat misleading (and very rare) error that primarily occurs in the SPOS_Sale script. It occurs when the integration to NetSuite has something wrong with the format that it is expecting. This is around field validation for required ...