Skip to content

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


"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:

  1. Screenshot of the error
  2. Browser name & version (Chrome 120, Firefox 121, etc.)
  3. Operating system (Windows, Mac, Linux, iOS, Android)
  4. Steps to reproduce the issue
  5. Console errors (F12 โ†’ Console tab)
  6. 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.