Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create chat group with more than 30 people #325

Open
divya-BV opened this issue Jan 8, 2024 · 4 comments
Open

Cannot create chat group with more than 30 people #325

divya-BV opened this issue Jan 8, 2024 · 4 comments

Comments

@divya-BV
Copy link

divya-BV commented Jan 8, 2024

Hi @TatankaConCube , I am trying to create the chat group with around 50 peoples. While creating the group, i am getting the error as cannot create group with more than 30 perople.

Below code is used to create the group :

CubeDialog newDialog = CubeDialog(isPublicGroup == true ? CubeDialogType.PUBLIC : CubeDialogType.GROUP,
                name: groupName ?? name, photo: groupPhoto ?? "", occupantsIds: usersList, customData: customData);
            createDialog(newDialog).then((createdDialog) {
              successCallback(createdDialog);
            }).catchError((error) {
              errorCallback(error.toString());
            });

Below are the logs

I/flutter (23920): === REQUEST ==== 65da5ab2-c115-4443-874b-0af7ceba899f ===
I/flutter (23920): REQUEST
I/flutter (23920): POST https://api.connectycube.com/chat/Dialog
I/flutter (23920): HEADERS
I/flutter (23920): {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 2.11.2, CB-Token: B9933855FB1812A154D2834C20459B7BA7BC}
I/flutter (23920): BODY
I/flutter (23920): {"photo":"","name":"Test Referthree , +49","type":2,"occupants_ids":[11355885,11449519,11358785,11365122,11451512,11404483,11426610,11432223,11489201,11449022,11510904,11435184,11385333,11432215,11365408,11376103,11455632,11428633,11362116,11373696,11452398,11428630,11353256,11428682,11423448,11286112,11458970,11362825,11286336,11356382,11295515,11285804,11285802,11404465,11396900,11356411,11506254,11314292,11356428,11509526,11355984,11362473,11435345,11435639,11432292,11497585,0,11428638,11432289,11435969,11408094]}
I/flutter (23920):
I/flutter (23920): CB-SDK: : *********************************************************
I/flutter (23920): *** RESPONSE *** 403 *** 65da5ab2-c115-4443-874b-0af7ceba899f ***
I/flutter (23920): HEADERS
I/flutter (23920): {connection: keep-alive, content-type: application/json; charset=utf-8, date: Mon, 08 Jan 2024 07:10:02 GMT, strict-transport-security: max-age=15768000; includeSubDomains, server: nginx/1.25.0, content-length: 62}
I/flutter (23920): BODY
I/flutter (23920): {"errors":{"base":["Max possible occupants_ids limit is 30"]}}
I/flutter (23920):
I/flutter (23920): CB-SDK: : createDialogForUser error ResponseException: 403: {"errors":{"base":["Max possible occupants_ids limit is 30"]}}

Can you please help?

@TatankaConCube
Copy link
Contributor

what plan do you use for your account?

@divya-BV
Copy link
Author

divya-BV commented Jan 9, 2024

@TatankaConCube we are using the "Hobby" plan for our project

@divya-BV
Copy link
Author

@TatankaConCube any update for me?

@TatankaConCube
Copy link
Contributor

TatankaConCube commented Jan 10, 2024

@divya-BV sorry for the delay, I asked our sales team and they answered that the server has some internal limits not provided on the Pricing page, they promised to update the page to add all limits there. For now these limits are the next:

Free Hobby Advanced Pro
Number of occupants per group chat 10 30 50 100
Number of occupants per public chat 20 50 100 200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants