The following are common errors Omnivore may encounter when trying to send an order from Omnivore to Magento with how to resolve.


Error    
Solution
java.lang.IllegalArgumentException: Cannot find a Magento mapping for shipping method....


The shipping method could then be
Courier
AU_StandardDelivery
etc


Please refer to the FAQ: Cannot find a Magento mapping for shipping method
uk.co.wilson.net.xmlrpc.XMLRPCFailException: This product is currently out of stock.
It means the product in the order (or one of the products for a multi item order) is out of stock in Magento.
In this case you can either:
  • Cancel the order in TradeRunner by using the "cancel" button at the top of the Order page. You will also need to refund the order in the marketplace:
    How to refund customers
  • Get more stock for the product in your Magento system, then "send to retailer again".
java.io.IOException: Server returned HTTP response code: 500 for URL: https://magento1.omnivore.com.au/index.php/api/xmlrpc
Or any response code in the range 400 or 500.
It means there's likely an issue in the Magento server configuration, Magento user permissions or file system permissions.


We recommend:
  • Enable logging in your Magento system, locate the System and Exception log files.
  • Send again the order to Magento by using the "send to retailer again" button in Trade Runner.
  • Observe what Magento writes to both the system log or the exception log. 
  • If you can't fix it, please raise a support ticket, and attach the relevant data from the log files.
State does not appear to be correct - please check address ,
This means your Magento is rejecting the order due to the State is incorrect,
  • To resolve, got to the order page, check the State in the address section.
  • Click edit to update the State and update.
The order cannot be created in Magento due to these errors:
uk.co.wilson.net.xmlrpc.XMLRPCFailException: Please check shipping address information. Please enter the telephone number.
This means your Magento is rejecting the order due to the there being no phone number supplied by the marketplace.


To resolve, got to the order page,
  • Click edit in the Customer details section and enter a "fake number".
  • Click update,
  • If required, click "resend to retailer" button on the order page.