Forum Discussion

Factory's avatar
Factory
Contributing User
5 years ago

IncorrectRowVersionSupplied error when creating order/invoice for first time

Hello,

 

Our platform integrates with MYOB via API in order to allow our customers to automatically create/update MYOB orders and invoices. Orders created in our platform are passed to MYOB.

 

Amongst a number of issues that we face with this integration, we have one that is confusing and stumping us.

 

Issue

When we create an order or invoice for the first time (E.g. sending the data via POST request for a NEW order, not an existing order) we sometimes receive an IncorrectRowVersionSupplied error.

 

We don't understand how this can happen during the first submission? Typically this request works perfectly fine and MYOB returns the corresponding Order #. With higher volume customers, we see this error daily. Resubmitting the request usually results in it being processed successfully, however, this is not an ideal experience.

 

We'd appreciate any assistance possible.

 

Paul

  • Tana's avatar
    Tana
    MYOB Staff

    Hi there.

    Thank you for reaching out and welcome to the Forum.

    Firstly can we confirm that you are using the latest version of the API (which is currently 2020.3) 
    If not download the latest version here.

    If you are using the latest version then it will be best to contact API support here in order for you to send through some specific details regarding your developer account.

    If you could send through a full HTTP trace including request and resonse headers, URI and API key we can look further into this request from our end.

    Kind regards