Back

createEmailPasswordSession not working

  • 0
  • Self Hosted
  • Auth
  • Web
Quint
5 Mar, 2024, 19:47

Hello, i'm following the next.js tutorial in the docs, and when i log in it creates the user but returns this error:

Uncaught (in promise) TypeError: _appwrite__WEBPACK_IMPORTED_MODULE_2__.account.createEmailPasswordSession is not a function

TL;DR
Developers are experiencing issues with the `createEmailPasswordSession` method. The method will be introduced in version 1.5, but for now, they should use the following instead for the current and older versions: `https://appwrite.io/docs/references/1.4.x/client-web/account#createEmailSession`.
Ryan
5 Mar, 2024, 19:49

That method will be newly introduced in 1.5 which isn't out yet. For the current version and older you'll want to use this instead https://appwrite.io/docs/references/1.4.x/client-web/account#createEmailSession

Quint
5 Mar, 2024, 19:50

ah, thank you!

Quint
5 Mar, 2024, 19:52

is there a way to install 1.5 yet or no

Binyamin
5 Mar, 2024, 19:53

Nope, Not yet

Ryan
5 Mar, 2024, 19:53

Not currently, but it's due to be released at some point this month

Evdog
5 Mar, 2024, 19:53

Soon πŸ™‚

Faye
5 Mar, 2024, 19:53

very soon

Quint
5 Mar, 2024, 19:54

πŸ‘πŸ‘πŸ‘ thanks!!

Binyamin
5 Mar, 2024, 19:57

If you want to run it for testing you can

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