P0: Zoho token failure returns null but forwardToZoho continues #2

Open
opened 2026-05-13 20:39:11 -05:00 by null · 0 comments
Owner

Severity: P0 — Critical

File: server/index.js ~line 148

Problem: getZohoAccessToken() returns null on failure but forwardToZoho() continues without blocking. Lead record is saved to DB but never forwarded to Zoho.

Impact: Data loss — leads are created locally but never synced to CRM if token exchange fails.

Fix: Either block submission until token is confirmed, or add a retry/queue mechanism for failed forwards.

## Severity: P0 — Critical **File:** server/index.js ~line 148 **Problem:** getZohoAccessToken() returns null on failure but forwardToZoho() continues without blocking. Lead record is saved to DB but never forwarded to Zoho. **Impact:** Data loss — leads are created locally but never synced to CRM if token exchange fails. **Fix:** Either block submission until token is confirmed, or add a retry/queue mechanism for failed forwards.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: null/Queue-North-Website#2
No description provided.