Share via

Batch call request return 429 - Too many requests in response

Dharmesh Khatri 0 Reputation points
2024-08-28T05:52:47.7566667+00:00

Hi,

I am trying to call api add member to the teams channel and remove members from the team channels. I am using batch call for calling add and remove member from teams channel. Both batch call are separate. Using below api to in batch call requests.

Add Member :HTTP POST : https://graph.microsoft.com/v1.0/teams/{teamsId}/channels/{channelId}/members

Remove Member : HTTP DELETE : /teams/{teamsId}/channels/{channelId}/members/{memberId}

Initially it worked fine. We are limiting bath call to in 20 requests at time. But past 2 when I was trying to add or remove 6-7 member from the team channel request return 429 - Too many requests in response. I tried 2-3 members with same operations the situation is still the same i.e. getting status code 429 each time.

NOTE: Above mentioned scenario is occurred for every request.

I am not sure what is the issue with batch calls. Can someone share more details about it.

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

Microsoft Security | Microsoft Graph

Your answer

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