Why are Google Calendar events not syncing with Taskify?

Why are Google Calendar events not syncing with Taskify?

Answer: Ensure your Google API credentials are correct and your OAuth tokens are valid. Check logs in storage/logs/laravel.log for specific errors and ensure cron is running for scheduled syncs.

Common Issues:

  • Invalid Google API credentials
  • Expired OAuth tokens
  • Cron job not running
  • API quota exceeded
  • Incorrect calendar permissions

Troubleshooting Steps:

  1. Check API credentials: Verify your Google API key and client secret
  2. Refresh OAuth tokens: Re-authenticate with Google
  3. Check logs: Review Laravel logs for specific error messages
  4. Verify cron: Ensure scheduled sync jobs are running
  5. Test API access: Use Google API Explorer to test your credentials

Configuration:

Ensure these settings are correct in your .env file:

GOOGLE_CLIENT_ID=your_client_id
GOOGLE_CLIENT_SECRET=your_client_secret
GOOGLE_REDIRECT_URI=your_redirect_uri