Back

In DotNet using the Account.Create() results in an exception.

  • 0
  • Self Hosted
Anabil
10 Feb, 2025, 21:46

When I try to create a new user with the following code await _account.Create(userId: "unique()", email: email, password: password);

It hit an exception which says System.Collections.Generic.KeyNotFoundException: 'The given key 'expired' was not present in the dictionary.'

There is no dictionary on my side. It has to be Appwrite internal issue. Please help. Edit: Account gets created but no User object is returned.

TL;DR
Developers are facing an issue when using Account.Create() in DotNet, resulting in a KeyNotFoundException mentioning 'expired'. This seems to be an internal issue with Appwrite. The account gets created but no User object is returned.
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