Back

How to add a user to a group via dart sdk

  • 0
  • Teams
  • Flutter
  • Users
Sabit
12 Apr, 2023, 11:18

Hello! I can't add user to group via dart sdk. Writes that the url must be either "localhost" or "jettaxi.kz". Although my server is running through "jettaxi.kz" what should I do?

TL;DR
User is having trouble adding a user to a group using the Dart SDK. They receive an error message stating that the URL must be either "localhost" or "jettaxi.kz", even though their server is running through "jettaxi.kz". They are seeking guidance on what to do. Solution: One user suggests using `http://localhost` instead of the actual URL to avoid email sending when using an API key. Another user mentions adding `<@480327814164381697>` to the conversation for more feedback. No specific solution is provided in the thread.
joeyouss
14 Apr, 2023, 16:54

Hi , adding @dlohani to this convo for more feedback

Drake
14 Apr, 2023, 17:58

you can use http://localhost no email will be sent when using an API key

Sabit
15 Apr, 2023, 07:43

The group was created normally but with an error? I use id and name, the console says type "List<dynamic>" is not a subtype of type "Map<String, dynamic>". Or do I need to add roles? It is necessary?

Sabit
15 Apr, 2023, 07:44

I added teamId and name

Sabit
15 Apr, 2023, 07:45

After that, the function that creates a collection of group chats should be executed. but this function is not executed

wadman
15 Apr, 2023, 11:08
dlohani
16 Apr, 2023, 01:11

function is setup to trigger on Team create event? Are there any error on Docker console?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more