microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

AudioVideoPlaybackBot.FrontEnd.Bot.Bot.JoinCallAsync fails with "Application reached the monthly call creation limit."

Open
#385 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

Describe the issue
joinCall requests to AudioVideoPlaybackBot are failing with the following response

Status Code: 429
Microsoft.Graph.Communications.Core.Exceptions.ServiceException: Code: UnknownError
Message: {"errorCode":"8529","message":"Application reached the monthly call creation limit.","instanceAnnotations":[]}
Scenario Id: 7383aa99-fd09-4ffc-83c7-fbc1cd7571f7
Inner error:
	AdditionalData:
	date: 2020-12-07T21:40:14
	request-id: b14b1f4d-926a-4abd-945e-a92c205a3f41
	client-request-id: 08aa3f09-3094-4e66-a4a7-efc4871c0d43
 ---> Microsoft.Graph.Communications.Core.Exceptions.ServiceException: Code: UnknownError
Message: {"errorCode":"8529","message":"Application reached the monthly call creation limit.","instanceAnnotations":[]}
Inner error:
	AdditionalData:
	date: 2020-12-07T21:40:14
	request-id: b14b1f4d-926a-4abd-945e-a92c205a3f41
	client-request-id: 08aa3f09-3094-4e66-a4a7-efc4871c0d43

   at Microsoft.Graph.Communications.Client.Transport.GraphAuthClient.<ValidateResponseAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Graph.Communications.Client.Transport.GraphAuthClient.<SendHttpRequestAsync>d__4`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Graph.Communications.Client.Transport.GraphClientWrapper.<ValidateAndWrapAsync>d__12`1.MoveNext()
   --- End of inner exception stack trace ---
   at Microsoft.Graph.Communications.Client.Transport.GraphClientWrapper.<ValidateAndWrapAsync>d__12`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Graph.Communications.Client.Transport.GraphClientWrapper.<SendAsync>d__11`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Graph.Communications.Resources.StatefulResourceCollection`4.<GenerateEntityAsync>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Graph.Communications.Calls.StatefulCallCollection.<GenerateEntityAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Graph.Communications.Resources.StatefulResourceCollection`4.<CreateStatefulResourceAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Graph.Communications.Resources.StatefulResourceCollection`4.<GenerateStatefulResourceAsync>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Sample.AudioVideoPlaybackBot.FrontEnd.Bot.Bot.<JoinCallAsync>d__22.MoveNext() in C:\source\microsoft-graph-comms-samples\Samples\V1.0Samples\LocalMediaSamples\AudioVideoPlaybackBot\FrontEnd\Bot\Bot.cs:line 117
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Sample.AudioVideoPlaybackBot.FrontEnd.Http.JoinCallController.<JoinCallAsync>d__0.MoveNext() in C:\source\microsoft-graph-comms-samples\Samples\V1.0Samples\LocalMediaSamples\AudioVideoPlaybackBot\FrontEnd\Http\Controllers\JoinCallController.cs:line 46

from the log, POST https://graph.microsoft.com/v1.0/communications/calls is failing

$>2020-12-07T21:40:14.4336958Z Error: GraphAuthClient.cs:117 SendHttpRequestAsync
ScenarioId: 7383aa99-fd09-4ffc-83c7-fbc1cd7571f7
AppId: 
AppName: Sample.AudioVideoPlaybackBot.FrontEnd
TransactionDirection: Outgoing
TraceType: HttpResponse
ResponseTime: 8
request: POST https://graph.microsoft.com/v1.0/communications/calls
response: 429 429
headers:
  request-id: b14b1f4d-926a-4abd-945e-a92c205a3f41
  client-request-id: 08aa3f09-3094-4e66-a4a7-efc4871c0d43
  x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"East US","Slice":"SliceC","Ring":"5","ScaleUnit":"000","RoleInstance":"AGSFE_IN_52"}}
  scenario-id: 7383aa99-fd09-4ffc-83c7-fbc1cd7571f7
  Strict-Transport-Security: max-age=31536000
  Cache-Control: private
  Date: Mon, 07 Dec 2020 21:40:13 GMT
  Content-Length: 386
  Content-Type: application/json
{
  "error": {
    "code": "UnknownError",
    "message": "{\"errorCode\":\"8529\",\"message\":\"Application reached the monthly call creation limit.\",\"instanceAnnotations\":[]}",
    "innererror": {
      "date": "2020-12-07T21:40:14",
      "request-id": "b14b1f4d-926a-4abd-945e-a92c205a3f41",
      "client-request-id": "08aa3f09-3094-4e66-a4a7-efc4871c0d43"
    }
  }
}

sdk versions

    <PackageReference Include="Microsoft.AspNet.WebApi.Owin" Version="5.2.7" />
    <PackageReference Include="Microsoft.Graph.Communications.Calls.Media" Version="1.2.0.850" />
    <PackageReference Include="Microsoft.Owin.Hosting" Version="4.0.1" />
    <PackageReference Include="Microsoft.Skype.Bots.Media" Version="1.17.0.39-alpha" />
  • Is this a bug or a legit bot join limit?
  • If the latter
    • What's the limit and where is it documented?
    • How can one get metrics about where tenant is with respect to this and other limits?
    • Is it possible to overcome this limit? Do you have different pricing tiers with higher limits?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at Samples/V1.0Samples/LocalMediaSamples/AudioVideoPlaybackBot/FrontEnd/Bot/Bot.cs line 117 and JoinCallController.cs line 46, then inspect the failing POST to /v1.0/communications/calls. Determine whether error 8529 reflects a documented service limit or a defect, and identify the applicable limit, metrics, and mitigation guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.