DEV Community

Discussion on: Import Csv to Appwrite Database

Collapse
 
seek4samurai profile image
Gourav Singh Rawat

Forgot password would provoke a network error. AppwriteException: Network request failed. Maybe because

    try {
      await account.createRecovery(
        data.get("email"),
        "http://localhost:3000/passwordrecovery"
      );
      console.log("Email Send Succesfully");
    } catch (e) {
      console.log(e);
    }
Enter fullscreen mode Exit fullscreen mode

Your api call is to wrong point. It should not be localhost.

Collapse
 
rohitraje786 profile image
Rohit Patil

I haven't hosted the appwrite backend,I am running it using docker and it's working fine on my local machine.
Here's the demo:
loom.com/share/3c10dbfa1e1b47f49d9...