Forum Discussion

Alson11's avatar
Alson11
Copper Contributor
Apr 24, 2024

12002 - WINHTTP_CALLBACK_STATUS_REQUEST_ERROR

Getting the below error WINHTTP_CALLBACK_STATUS_REQUEST_ERROR while calling the microsoft graph

api with call record Id to fetch callrecords sessions.

 

 

do
{
    IList<Microsoft.Graph.QueryOption> queryOption = new List<Microsoft.Graph.QueryOption>();
    if (nextPageRequest != null)
    {
        queryOption = nextPageRequest.QueryOptions;
    }
    var callRecordSession = AsyncHelpers.RunSync<ICallRecordSessionsCollectionPage>(() =>
    graphServiceClient.Communications.CallRecords[Convert.ToString(callRecordId)].Sessions.Request(queryOption).GetAsync());
    nextPageRequest = callRecordSession.NextPageRequest;
    foreach (var session in callRecordSession)
    {
        sessionList.Add(session);
    }
}
while (nextPageRequest != null);

 

 

its working for many callrecordid and throwing the above error for some callrecordId
I am using a microsoft graph sdk of 4.32 

Can some one help me?


No RepliesBe the first to reply

Resources