Hi all,
I have a programme using Odata https request to get data from AX7.
In Dev and Testing environment we found it works perfectly. When I used the same method to request the data from UAT environment, I found the process have an error on a send.
request worked in test:
RequestUri = {https://[test url]/data/ListDatas?$orderby=StartDatetime&$filter=Status eq Microsoft.Dynamics.DataEntities.ListStatus'Pending'}
request fail in UAT:
RequestUri = {https://[uat url]/data/ListDatas?$orderby=StartDatetime&$filter=Status eq Microsoft.Dynamics.DataEntities.ListStatus'Pending'}
Error info:
InnerException = {"The underlying connection was closed: An unexpected error occurred on a send."}
StackTrace = " at Microsoft.OData.Client.HttpWebRequestMessage.GetResponse()\r\n at Microsoft.OData.Client.DataServiceContext.GetResponseHelper(ODataRequestMessageWrapper request, IAsyncResult asyncResult, Boolean handleWebException)\r\n at Microsoft.OData.Client....
Could anyone tell me the potential cause for this error? Is their any difference between the odata request in Test environment and UAT environment? Thanks!