🔌 Google Drive Connection Test

✅ Loaded environment variables from: /home/sparrowp/api.sparrowportal.co.za/api/devtools/../../.env

✅ Composer autoload found

✅ Selected Service Account: service-account.json

Full Path: /home/sparrowp/api.sparrowportal.co.za/service-accounts/service-account.json

✅ Google Client initialized

✅ Successfully connected to Google Drive!

✅ DRIVE_PARENT_FOLDER_ID loaded from environment: 18PnU9PA_jT0alS_NtFgAC_FWar1ZUn8G

❌ Cannot access target folder with ID: 18PnU9PA_jT0alS_NtFgAC_FWar1ZUn8G

Error: { "error": { "code": 404, "message": "File not found: 18PnU9PA_jT0alS_NtFgAC_FWar1ZUn8G.", "errors": [ { "message": "File not found: 18PnU9PA_jT0alS_NtFgAC_FWar1ZUn8G.", "domain": "global", "reason": "notFound", "location": "fileId", "locationType": "parameter" } ] } }

Possible reasons:

🕵️ Multi-Account Visibility Check:

Testing Account: service-account.json
Email: misdrive@mis-drive-392710.iam.gserviceaccount.com
✅ Can see Target Folder: Main uploads
Using parent ID: 18PnU9PA_jT0alS_NtFgAC_FWar1ZUn8G
Testing Account: service-account2.json
Email: jobcoach@jobcoach-484310.iam.gserviceaccount.com
✅ Can see Target Folder: Main uploads
Using parent ID: 18PnU9PA_jT0alS_NtFgAC_FWar1ZUn8G