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

Appwrite createEmailSession is not a function #104

Open
Vikas-Kumar-Sahu opened this issue Apr 22, 2024 · 9 comments
Open

Appwrite createEmailSession is not a function #104

Vikas-Kumar-Sahu opened this issue Apr 22, 2024 · 9 comments

Comments

@Vikas-Kumar-Sahu
Copy link

WhatsApp Image 2024-04-22 at 8 15 41 PM

@Vikas-Kumar-Sahu Vikas-Kumar-Sahu changed the title createEmailSession is not a function and did't work this method only showing the error in console.log Appwrite createEmailSession is not a function and did't work this method only showing the error in console.log Apr 22, 2024
@Vikas-Kumar-Sahu Vikas-Kumar-Sahu changed the title Appwrite createEmailSession is not a function and did't work this method only showing the error in console.log Appwrite createEmailSession is not a function Apr 22, 2024
@pritamduttaofficial
Copy link

pritamduttaofficial commented Apr 27, 2024

Go to store.js where the redux store is configured. There you must define the reducers to the store. So specify the reducer and name of that reducer in an object to the reducer key. For Eg: If the name of the reducer is auth and the slice is authSlice, then provide them as key-value pairs to the reducer

const store = configureStore({ reducer: { auth: authSlice }, });

@Vikas-Kumar-Sahu
Copy link
Author

I already given that, the problem is createEmailSession does't work if you have any solution regardin this, how to solve this then please inform me ....

@SamidulSk
Copy link

same problem 🙃, did you fix it brother??

@Aditiyasingh07
Copy link

Aditiyasingh07 commented May 23, 2024

you can use (createEmailPasswordSession)

@PriyanshuTrivedi07
Copy link

same problem 🙃, did you fix it brother??

this error is showing because the function will change to "account.createEmailPasswordSession" in the latest version of appwrite so you can use "createEmailPasswordSession" instead
e.g. :

return await this.account.createEmailPasswordSession(email, password);

Hope this helps 👍🏻

@Lovethakur1
Copy link

thanks

@akku2005
Copy link

akku2005 commented Aug 4, 2024

i am facing the same error
WhatsApp Image 2024-08-04 at 17 20 40_4c2642c2

@Aditiyasingh07
Copy link

you can use (account.createEmailPasswordSession)

@habibullahqureshe
Copy link

finally fix the bug

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

8 participants