I think it is an issue with Appwrite SDK issue when working** on React Native Web**
I used Accounts API to create a user. This is the error:- (see screenshot too)
AppwriteException: Failed to execute 'fetch' on 'Window': Illegal invocation
at Client.<anonymous> (...
At the same time this works fine on the Android App (I am not developing for android but just thought stating this might help)
Should I open a GH issue?
Don't you forgot arguments on your call ?
Can you share your code?
I have tested this in the Android app. It worked fine. This error shows up for web app only
(I am developing in React Native. So, the code for android and web is the same. If it works for android, shows error for web)
const session = await account.createEmailSession(email, password);
I am using account API only
Using REST instead of web sdk 👍
No issues with REST
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...