I am getting an exception when trying to call get_order_history() and in response getting below error.
" in OrderHistory\n if history[\'type\']==\'success\':\n ~~~^^^^^^^^\n', "KeyError: 'type'\n"] "
below the the code that i am using to get the response.
history = xti.get_order_history(appOrderID=OrderID,clientID=clientID)
if history['type']=='success':
Hi Team,
I am getting an exception when trying to call get_order_history() and in response getting below error. " in OrderHistory\n if history[\'type\']==\'success\':\n
~~~^^^^^^^^\n', "KeyError: 'type'\n"] "below the the code that i am using to get the response. history = xti.get_order_history(appOrderID=OrderID,clientID=clientID) if history['type']=='success':
please help to look into this.
regards, satish