Forum Discussion

mkaaay's avatar
mkaaay
Contributing User
5 months ago

SerializationError when importing large orders

We're trying to import  a  large order (many line items) and each time one of the products randomly fails to insert the data into AccountRite (cloud) via the api.

{ "Errors": [ { "Name": "SerializationError", "Message": null, "AdditionalDetails": "Unexpected character encountered while parsing value: ,. Path 'Lines[58].UnitPrice', line 775, position 21.", "ErrorCode": 50, "Severity": "Error", "LearnMore": null } ], "Information": "Warning, error messages have not been finalised in this release and may change" }

{

"Type": "Transaction",

"Description": "",

"ShipQuantity": 6,

"UnitPrice": ,

"Total": 0,

"Job": null,

"TaxCode": {

"UID": ""

},

"Item": {

"UID": ""

}

It has nothing to do with characters or anything as it bombs on a different SKU each time.

The import takes a good few minutes to run, like 7 or 8 minutes.

There are about 150 products being sent.


How do we deal with this?

  • Hi mkaaay,

     

    Thank you for your post and welcome to the community forum! I'm sorry for the inconvenience if you are getting an API error when importing large orders. For any API error/integration related queries, we recommend raising a support request via the following link.

     

    Feel free to write a post if you need further assistance.

     

    Cheers,

    Jem

    • mkaaay's avatar
      mkaaay
      Contributing User

      HI, yes I have done that already - but we generally have to wait 2 or three days or even more for any kind of response.  It's far from satisfactory.

      I'm unsure as to why you can't just answer the question here?

      • Genreve_S's avatar
        Genreve_S
        MYOB Moderator

        Hi mkaaay ,

         

        I understand your sentiment about this. This board is intended for developers like you to ask questions and get help from other developers. However, if you need direct help from MYOB, the link previously provided is the best support avenue specific for that.

         

        If you need any other help, feel free to create a new thread. 

         

        Thanks,
        Genreve