It looks like your Appwrite endpoint or project ID is either missing or incorrectly configured, which is causing an invalid URL (undefined/account).
Check Your Environment Variables Make sure your .env.local file has the correct Appwrite credentials:
NEXT_PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
NEXT_PUBLIC_APPWRITE_PROJECT=your_project_id
NEXT_PUBLIC_APPWRITE_DATABASE_ID=your_database_id
NEXT_PUBLIC_APPWRITE_COLLECTION_ID=your_collection_id
please share the code you write without your credentials so we can help you if it still exists