Skip to content
Back

Team invite - 500 error - no email

  • 0
  • Self Hosted
  • Flutter
  • Auth
Gac
8 Apr, 2026, 22:50

When executing

TypeScript
await _repository.teams.createMembership(
  teamId: event.listId,
  roles: ['member'],
  email: event.email,
  url: 'xxxx',
);

I see this in the appwrite container logs:

TypeScript
[0] /usr/src/code/vendor/utopia-php/framework/src/Http/Http.php : 813 -> validate()

[1] /usr/src/code/vendor/utopia-php/framework/src/Http/Http.php : 674 -> getArguments()

[2] /usr/src/code/vendor/utopia-php/framework/src/Http/Http.php : 976 -> execute()

[3] /usr/src/code/vendor/utopia-php/framework/src/Http/Http.php : 857 -> runInternal()

[4] /usr/src/code/app/http.php : 551 -> run()

[5] [internal function] :  -> {closure:/usr/src/code/app/http.php:513}()

Appwrite: 1.9.0 Flutter: 3.41.2

I have custom SMTP setup for the project and I was actually able to receive a few emails before it stopped working, and I haven't made a change to my code in any way.

I even removed all my functions as some of them had triggers on teams.create but still the same.

Is there any way to see more detailed logs?

Also attaching my appwrite doctor screenshot as it has some things that don't look right to me, but the console works and everything else seems to function.

TL;DR
Developers experiencing 500 error and not receiving emails when inviting team members in Appwrite. Logs show issues in the Http.php. Status: Appwrite 1.9.0, Flutter 3.41.2. Custom SMTP set up previously worked, no recent code changes. Removed triggers - issue persists. Requesting more detailed logs and sharing Appwrite doctor screenshot for review.
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