Dynamics AX Connector: Error: Unauthorized status code = 401
I am getting below error when executing a Request Reply Event Integration map,
"Error in calling Operation Query (Lookup Block): Operation failed. Label: Lookup Customers, Name: CustomersLookup, Message: The following error has occurred in the Dynamics AX Connector: Error: Unauthorized status code = 401."
And when I move the map to a new solution (export and import) it works for 2, 3 request and then starts to fail with the same error.
Any idea on this issue.