I'm making Graph API call to Create peer-to-peer VoIP call with application hosted media,
and I get below error.
Request: { "@odata.type": "#microsoft.graph.call", "callbackUri": "http://2631306c61e9.ngrok.io/xxxx/xxxxx/notification", "source": { "@odata.type": "#microsoft.graph.participantInfo", "identity": { "@odata.type": "#microsoft.graph.identitySet", "application": { "@odata.type": "#microsoft.graph.identity", "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx", "displayName": "<Full Name>" } } }, "targets": [ { "@odata.type": "#microsoft.graph.invitationParticipantInfo", "identity": { "@odata.type": "#microsoft.graph.identitySet", "user": { "@odata.type": "#microsoft.graph.identity", "displayName": "<Full Name>", "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx" } } } ], "requestedModalities": ["Audio"], "mediaConfig": { "@odata.type": "#microsoft.graph.serviceHostedMediaConfig" }, "tenantId": "xxxxxxx-xxxxx-????" }
Referred: https://docs.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0&tabs=http
Even for empty JSON body as below, I do get this error without raising any BadRequest error.
POST /v1.0/communications/calls
Content-Type: application/json
Authorization: Bearer eyJ0eX????????
{}
{
"error": {
"code": "UnknownError",
"message": "{\"errorCode\":\"7503\",\"message\":\"Application is not registered in our store.\",\"instanceAnnotations\":[]}",
"innerError": {
"date": "2020-09-21T07:47:35",
"request-id": "db5022ae-94aa-48df-91fb-69171e38451c",
"client-request-id": "db5022ae-94aa-48df-91fb-69171e38451c"
}
}
}

