Any errors generated by the MYOB Integration will be sent to your nominated email address for you to action. The integration will automatically reattempt to push the invoice through every 30 minutes. If the error is not fixed, you will receive the same error email each day for 5 days. After this period, the auto attempts will fail and the invoice will need to be manually uploaded into MYOB.
If you are unsure of an error message, please reach out to support@fresho.com so we can assist.
Error Handling:
Error messages can be found within Fresho. They sit within company settings -> Integrations -> view integration errors. You will see the number of errors that are currently effecting your integration & will still be notified via email. Below you will see a list of possible error messages and how to fix them.
Error Messages
Below are the common errors, and how to troubleshoot these:
Error: Missing customer code
What does this mean? This error indicates that the customer code is not set up in MYOB.
How can you fix this? Please add the required customer (with correct customer code) to MYOB to continue processing.
Error: The following product(s) do not exist in MYOB
What does this mean? This error indicates that the product is not yet set up in MYOB.
How can you fix this? Please add the required product and code into MYOB to continue processing. Please note, product codes can be case sensitive - please ensure MYOB matches the code exactly as it is in Fresho.
Error: Insufficient item quantity to complete transaction
What does this mean? This error means that the stock for this product in MYOB is 0 or less.
How can you fix this? You can remove the “I inventory this item” mark on these items in MYOB, or adjust the quantity on hand.
Error: BusinessLine_AccountRequired
What does this mean? This error indicates that a product on the order is not marked as a sell item or is not associated with a sales account in MYOB.
How can you fix this? Please check any new products in MYOB to see if this is the case. If the error persists, please reach out to support@fresho.com
Error: SaleEventLine_ItemSoldRequired
What does this mean? This error indicates that a product on the order is not marked as a sell item or is not associated with a sales account in MYOB.
How can you fix this? Please check any new products in MYOB to see if this is the case. There should be a box to tick, where you can state “I Sell This Item”
Error: Either an Item or an Account is required on a Transaction Line
What does this mean? This message indicates that a new product has been added which doesn't have a connected Sales account in MYOB
How can you fix this? Please check the items on the order, starting with the newest, to make sure there is a connected sales account on each product. Once fixed, the order should push through successfully at the next attempt.
Error: The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid
What does this mean? If you get this error, it means that the security token between Fresho and MYOB has been broken or has expired.
How can you fix this? You need to reconnect MYOB within Fresho. Press Edit, disconnect and then connect again.
Error: UrlDecoding of the form parameters from the request message failed. The form parameters needs to be url encoded
What does this mean? If you get this error, it likely means you are using a '%' character in one of the customer/product names, descriptions or codes. MYOB does not allow these to be created via API.
How can you fix this? You will need to add that product/customer manually into MYOB. Once that is done, the invoice will retry and should be successful on the next attempt.
Error: BusinessEvent_DateOccurred_BeforeConversionMonth
What does this mean? The date of the invoice, purchase, or journal entry you are entering is before the Conversion Month set up in your company file.
Where to find it: Go to Setup > Company Information in MYOB to see your set Conversion Month.
Solution: The user will need to enter this invoice manually with a different delivery date
BusinessEvent_DateOccurred_BeforeFinancialYear
What it means: This means that the supplier is trying to push in an invoice that is outside of the current financial year and the financial year the invoice has been entered in for has been locked.
Solution: The user will need to enter this invoice manually with a different delivery date
Account not found
What it means: The Account not found error code means you have entered the wrong Account name in Fresho.
Solution: You must enter the exact name as it appears in MYOB in the field in your integration settings in Fresho. Please note this is not the Account Number; it must be the Account Name, and it must be an Income account.
Time out Errors:
Connection to the API has timed out
A body is required during a PUT or POST operation
The supplied OAuth token (Bearer) is not valid
What does this mean? These are timeout errors, and usually indicates that the invoice took too long to upload on the first attempt.
How can you fix this? These errors happen every now and again, and the invoice will usually upload successfully shortly after. If this is not the case, please reach out to support@fresho.com.

