News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Internal server error when trying to create a large team
Tags: rest api
Dec 10, 2020 at 12:56am   •   4 replies  •  1 likes
angq fasq

We are trying to create a Team using REST API and we are wondering on how many members can a
Team have. We want to create a Team with max 1500 members, but when we send this through the createTeam api we get an Internal Server error 500. This seems to depend on the total size of message sent. By that we mean that if we use shorter email addresses we can increase the number of members we can add, but still we are not able to add 1500 members without server throwing internal server error.
So, is this a server bug?
- How many members can we add with a single request in Team?
- How many members can we add in total in a Team?
- If we use addTeamMembers API, how many member emails can we send per request?

Thank you

4 Answers
answered on Jan 11, 2021 at 9:01am  

Hello @Phong Vu.

Sorry for the delay. We have just completed our implementation and we see that sandbox can't handle the requests. In our attempt to create a team with 1500 users in bunches of 100 as you suggested, best case it handles only the first four add member requests(100 members from createTeam request + 400 from the addMembers) and then fails with internal server error.

Team created with 100 members

Adding 100 members 1/14

Adding 100 members 2/14

Adding 100 members 3/14

Adding 100 members 4/14

Adding 100 members 5/14

Jan 11, 2021 6:47:09 PM handleResponseError

WARNING: POST request for "" resulted in 500 (Internal Server Error); invoking error handler

answered on Jan 11, 2021 at 9:13am  

Unfortunately, a sandbox account is limited to max 4 members only. In some case we can increase the limit to 8 or 10 but not as much as you want for your test. If you need to increase to 10, pls send a request to the developer support team by submitting a help ticket.

answered on Dec 16, 2020 at 2:01am  

Hello Phong. Thank you for the answer. We will implement this after the holidays and come back to you.

So for 1500 users we will have to make 15 requests. Sometime we get a "service unavailable" error between requests. Is this something that happens in production as well, or is it only in sandbox?

answered on Dec 10, 2020 at 1:54pm  

Just check with the team. Basically there is no limit on the numbers of members in a team.

Create new team and add new team members has the same limit and it is 100 max per request. So it looks like you have to create a team with the first 100 members, then call the add member API with 100 members per API call.

Can you try that and let me know.

We will update our documentation with more info.


A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

Resource center
Product Releases
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us