Skip to content

get_order_history() giving exceptions even though we are passing correct OrderID and Client ID #12

@satishayinala

Description

@satishayinala

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions