Graph communications for call transfer throws call not found error and code 8522

Srinivasan N 0 Reputation points
2024-09-28T08:01:34.48+00:00

My azure bot receives audio call from MS Teams. When I try to transfer the call to PSTN number, it throws Call not found error.

Details:

url=https://graph.microsoft.com/v1.0/communications/calls/00005080-7c05-4cec-ac7c-3cdf175101e9/transfer

payload={'transferTarget': {'@odata.type': '#microsoft.graph.invitationParticipantInfo', 'identity': {'phone': {'id': '+16667778888', 'displayName': 'Display Name'}}, 'participantId': '+16667778888}}

Error details:

{"error":{"code":"8522","message":"Call not found.","innerError":{"date":"2024-09-28T07:43:37","request-id":"b80f8da0-c261-4833-b95e-e923e80ae76e","client-request-id":"b80f8da0-c261-4833-b95e-e923e80ae76e"}}}

404

<Response [404]>

pls help me to fix this error.

Thanks.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,035 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.