Troubleshooting Guide¶
Solutions to common MessWala issues.
๐ Login & Authentication¶
"Invalid Credentials"¶
Problem: Can't login with email/password
Solutions: 1. โ Double-check email address (typo?) 2. โ Verify password is correct (caps lock on?) 3. โ Try "Forgot Password" to reset 4. โ Try Google Sign-In instead 5. โ Clear browser cookies/cache 6. โ Try different browser
Still not working? - Account may not exist - May not be approved yet - Check with admin
"User Not Approved"¶
Problem: Registration pending approval
Solutions: 1. โ Ask admin to check pending registrations 2. โ Approval usually within 24 hours 3. โ Check email for approval notification 4. โ Verify registration was submitted successfully
Check status: - Admin can see pending users in User Management - They can approve immediately in dashboard
"Google Sign-In Not Working"¶
Problem: Google OAuth login fails
Solutions: 1. โ Verify Google account works (test on another site) 2. โ Check Google cookies are enabled 3. โ Try different Google account 4. โ Clear browser cache 5. โ Try incognito/private mode 6. โ Disable browser extensions (AdBlock, etc.)
Admin check: - Ensure Google Client ID is configured - Check environment variable: VITE_GOOGLE_CLIENT_ID
Token Expired / Logged Out¶
Problem: Getting logged out randomly
Solutions: 1. โ Token valid for 7 days after login 2. โ Login again (new token issued) 3. โ Check if session timeout is active 4. โ Clear cache to remove old token
Note: Automatic refresh not yet implemented (future feature)
๐ Dashboard & Data Issues¶
"No Data Showing" / "Loading Forever"¶
Problem: Dashboard empty or loading stuck
Solutions: 1. โ Check internet connection 2. โ Refresh page (F5 or Ctrl+R) 3. โ Hard refresh (Ctrl+Shift+R / Cmd+Shift+R) 4. โ Clear cache: Settings โ Cache โ Clear 5. โ Try incognito/private mode 6. โ Try different browser 7. โ Check if backend is up (visit /api/health)
Check backend:
curl https://messwala-6jvj.onrender.com/api/health
# Should return: {"status":"ok","dbState":1}
"Changes Not Saving"¶
Problem: Submit form but changes don't appear
Solutions: 1. โ Check for error message on page 2. โ Verify message says "Saved successfully" 3. โ Refresh page to confirm change 4. โ Wait 5 seconds and try again 5. โ Check internet connection 6. โ Verify you have permission for that action
Debug: - Open browser dev tools (F12) - Go to Network tab - Submit form - Check response is 200/201 (not 400/500)
"Outdated Data / Not Syncing"¶
Problem: Data seems outdated
Solutions: 1. โ Hard refresh (Ctrl+Shift+R) 2. โ Close and reopen app 3. โ Logout and login 4. โ Check another device (is data there?) 5. โ Check backend is responsive
Database check: - Contact admin to verify database is working
๐ฐ Expenses Issues¶
"Can't Add Expense"¶
Problem: Add Expense button not working or form won't submit
Solutions: 1. โ Verify you're a Manager (Student can't add) 2. โ Check all required fields filled 3. โ Verify amount is valid number (not text) 4. โ Check category is selected 5. โ Try different browser 6. โ Check internet connection
Debug: - Open browser console (F12) - Look for error messages - Check if form validation error shows
"Expense Missing/Deleted"¶
Problem: Expense disappeared or not showing
Solutions: 1. โ Refresh page 2. โ Check date filter (might be filtered out) 3. โ Scroll to find (might be out of view) 4. โ Check category filter 5. โ Only original recorder can delete (not you?) 6. โ Check different month filter
Can't undo delete: - Currently no undo feature - Contact admin to restore from backup
"Fair Share Calculation Wrong"¶
Problem: Fair share amount seems incorrect
Solutions: 1. โ Verify all expenses recorded correctly 2. โ Check your attendance marked for that month 3. โ Formula: (Total รท Active) ร Your attendance 4. โ "Active" = attended โฅ1 meal in month 5. โ Refresh page to recalculate 6. โ Contact manager to verify expenses
Example calculation:
Total expenses: โน3000
Active members: 10
Your meals: 25 eaten, 30 total possible
Your share = (โน3000 รท 10) ร (25/30) = โน2500
โ Attendance Issues¶
"Can't Mark Attendance"¶
Problem: Mark Present button not responding
Solutions: 1. โ Check date (can only mark today and past 30 days) 2. โ Verify internet connection 3. โ Try clicking again 4. โ Refresh page 5. โ Logout and login 6. โ Try incognito mode
Expected behavior: - Mark instantly with checkmark - Shows "Marked" confirmation - Can undo by clicking again
"Attendance Not Saving"¶
Problem: Mark present but doesn't stay marked
Solutions: 1. โ Check for error notification 2. โ Verify action completed with checkmark 3. โ Refresh page to persist 4. โ Wait 2-3 seconds before refreshing 5. โ Check internet connection active
๐ฝ๏ธ Menu & Feedback Issues¶
"Can't See Menu"¶
Problem: Menu page shows empty or loading
Solutions: 1. โ Refresh page 2. โ Menu might not be planned yet (ask manager) 3. โ Check correct date/week selected 4. โ Hard refresh (Ctrl+Shift+R)
Admin check: - Manager can create menu in Menu page - Might need to plan upcoming weeks
"Can't Add Feedback"¶
Problem: Feedback form won't submit
Solutions: 1. โ Verify all required fields (meal, rating) 2. โ Check rating is selected (1-5 stars) 3. โ Check date is valid 4. โ Verified internet connection 5. โ Try different browser
"Feedback Not Showing"¶
Problem: Submitted feedback missing
Solutions: 1. โ Refresh page 2. โ Check correct meal type filter 3. โ Check correct date range 4. โ Check correct meal type selected 5. โ Verify not deleted (can you edit?) 6. โ Look in another time period
๐ Analytics Issues¶
"Analytics Page Blank"¶
Problem: Analytics section not loading data
Solutions: 1. โ Only managers can view (are you manager?) 2. โ Might be no data yet (check month) 3. โ Refresh page 4. โ Select different month 5. โ Try hard refresh 6. โ Check backend /api/health
"Charts/Graphs Not Loading"¶
Problem: Analytics shows but charts are empty
Solutions: 1. โ Data might be loading (wait 5 seconds) 2. โ Refresh page 3. โ Check if data exists for period 4. โ Try different month 5. โ Try different browser
Debug: - Check browser console for errors (F12) - Look for specific error messages
๐ Admin-Specific Issues¶
"Can't Approve Users"¶
Problem: Approve button not working
Solutions: 1. โ Verify you're admin (other roles can't) 2. โ Verify user status is "Pending" 3. โ Refresh User Management page 4. โ Try different user 5. โ Try logout/login
"Can't Change User Role"¶
Problem: Role change button missing or not working
Solutions: 1. โ Only admins can change roles 2. โ Try refreshing page 3. โ Try logout/login 4. โ Try different user 5. โ Try different browser
"Setup Wizard Not Loading"¶
Problem: Admin setup page blank on first login
Solutions: 1. โ Clear browser cache 2. โ Try private/incognito mode 3. โ Refresh page (F5) 4. โ Try different browser 5. โ Try different device 6. โ Hard refresh (Ctrl+Shift+R)
Alternative: - Contact super-admin - Manually access setup at /admin/setup
๐ Connectivity Issues¶
"CORS Error in Console"¶
Problem: Browser shows CORS error
Solutions: 1. โ Backend API URL might be wrong 2. โ Check environment variable: VITE_API_URL 3. โ Verify backend domain matches 4. โ Try redeploying frontend 5. โ Wait 5 minutes for changes to propagate 6. โ Clear cache
Example correct URLs:
Frontend: https://mess-walah.vercel.app
Backend: https://messwala-6jvj.onrender.com/api
"Network Error / 502 Bad Gateway"¶
Problem: Network error from backend
Solutions: 1. โ Backend might be down (check status) 2. โ Backend restarting (wait 30 seconds) 3. โ Try refresh page 4. โ Check internet connection 5. โ Try different network (WiFi vs Mobile)
Check backend:
Visit: https://messwala-6jvj.onrender.com/api/health
Should return: {"status":"ok","dbState":1}
If backend down: - Try refreshing page (auto-restart after few min) - Or contact admin
๐ Getting Help¶
Gather Debug Information¶
When reporting an issue:
- Screenshot of the error
- Browser name & version (Chrome 120, Firefox 121, etc.)
- Operating system (Windows, Mac, Linux, iOS, Android)
- Steps to reproduce the issue
- Console errors (F12 โ Console tab)
- Network errors (F12 โ Network tab)
Where to Report¶
Bug Reports: - GitHub Issues: https://github.com/soumyadeepsarkar-2004/MessWala/issues
Quick Help: - Contact your mess admin - Check this troubleshooting guide
Still stuck? - Try different device/browser first - Clear all cache and cookies - Logout and login fresh
๐ฑ Mobile-Specific Issues¶
"App Not Working on Phone"¶
Solutions: 1. โ Check internet connection 2. โ Try mobile browser (Chrome, Safari) 3. โ Refresh page 4. โ Close and reopen browser 5. โ Try desktop version (compare) 6. โ Clear browser data (settings)
"Slow on Mobile"¶
Solutions: 1. โ Check 4G/WiFi signal strength 2. โ Close other apps 3. โ Try WiFi instead of mobile data 4. โ Refresh and wait for load
๐ Performance Issues¶
"Page Loading Slow"¶
Solutions: 1. โ Check internet speed 2. โ Close other browser tabs 3. โ Disable browser extensions 4. โ Clear browser cache 5. โ Try different browser 6. โ Try different network
๐ Common Error Codes¶
| Code | Meaning | Solution |
|---|---|---|
| 400 | Bad Request (invalid data) | Check form inputs |
| 401 | Unauthorized (no token) | Login again |
| 403 | Forbidden (no permission) | Check your role |
| 404 | Not Found | Page/endpoint doesn't exist |
| 500 | Server Error | Contact admin, try again |
| CORS Error | Cross-origin error | Check API URL config |
| TIMEOUT | Request took too long | Retry, check backend |
Last Updated: March 17, 2026
Version: 2.0
Still need help? Check Getting Started or contact your admin.