Recover a Timed-Out WhatsApp Multi Check Without Misclassifying Results
Learn when a WA Lookup multi-check timeout permits a full-list retry, when a lost response leaves an unknown outcome, and how to handle mixed results.

Recover a Timed-Out WhatsApp Multi Check Without Misclassifying Results
Learn when a WA Lookup multi-check timeout permits a full-list retry, when a lost response leaves an unknown outcome, and how to handle mixed results.
Use the response you actually received to decide whether to retry a whole multi request, hold an uncertain attempt, or review individual items.
If WA Lookup returns HTTP 504 with code 50400 for a synchronous multi check, the whole request failed, no partial results are available, and the batch is refunded in full. Resubmit the saved list. If your HTTP client timed out without receiving that response, keep the attempt unknown while you investigate; a local timeout cannot establish what the server completed. If you received a successful multi response, keep its decided results and review unresolved items individually.
Save the request before the timeout decision
A developer might submit 40 customer numbers to POST /api/v1/batch-check, then see a timeout in the worker log. The word timeout alone is insufficient to decide what to send again. First recover the exact request snapshot and the response evidence. WA Lookup's synchronous multi endpoint accepts 1 to 100 identifiers and returns results in the initiating response. It is separate from the asynchronous file task workflow; there is no task ID to poll for this request. The WA Lookup API documentation describes the current multi contract.
Keep an application-owned attempt record before sending: a local attempt reference, source row keys, the ordered list submitted, selected service, send time, and the state of the HTTP exchange. Preserve the original list rather than rebuilding it from a CRM table that might have changed. Do not put an API key in the record or a support screenshot. Your attempt reference is a local correlation key, not a field promised by WA Lookup. A record of the exact HTTP status and response code, when received, is what separates a server-confirmed failure from a client-side loss of visibility.
For example, your worker may have a 120-second client deadline, shorter than the documented 300-second multi limit. When the worker stops waiting at its own deadline, the server might still be working. The local exception establishes only that the client did not receive a usable response. It is not a negative registration check and does not prove a free retry.
A returned 50400 permits a whole-list retry
Read the HTTP status and the application response code together. When the response actually says HTTP 504 and code 50400, WA Lookup reports that the synchronous multi check exceeded its timeout. Its API reference states that the whole request fails after the 300-second multi limit: there are no partial results, no charge remains, and the full batch amount is refunded. The WA Lookup support error guide directs you to resubmit the whole list.
Mark this attempt as a confirmed whole-batch failure. Leave every submitted row without a registration decision from that attempt. Then create a new attempt using the saved ordered list and the same intended service. Keeping the old and new attempt references distinct lets your team explain why a whole list was submitted twice without treating two attempts as two completed sets of results. A 50400 response is evidence for this branch; a log line that merely says request timed out is not.
The refund is specific to the documented failed request. Do not apply it to an ordinary completed negative result. A completed registered=false observation is a billable decision, just as a completed positive result is. Likewise, a returned 42901 admission rejection is a different path: honor its Retry-After instruction and wait for an in-flight request to finish before resubmitting.
A client-only timeout leaves the attempt unresolved
Suppose the connection closed before any WA Lookup response body arrived. Your code may report a socket timeout, an aborted fetch, or a proxy deadline. None gives you the server's code. Keep the whole attempt in a local response unknown state. Do not convert its numbers to registered=false, label the event 50400, or promise that the balance was refunded. The client may have lost a response after work was completed, or the server may still have been processing when the client gave up.
Preserve the submitted identifiers, send time, client deadline, transport error, and whether any HTTP status or response bytes were received. Check the application evidence you actually have, including any saved request and billing records. If the outcome remains uncertain and a duplicate full check would matter, use WA Lookup support with the account and approximate request time plus a redacted error description. Support asks for identifying request details; remove secrets before sharing. Do not invent an API idempotency key, request-status endpoint, or guaranteed lost-response recovery step.
This hold is operationally useful. The CRM can show that the check is awaiting resolution, while the source numbers and contact preferences remain intact. A contact should not enter a WhatsApp-ready segment merely because the job failed to report back. Once the ambiguity is resolved, append the evidence and the next action to the same attempt history instead of silently replacing the missing observation.
A successful multi response calls for item-level reconciliation
A response with usable multi results belongs to a third branch. Match each result to the saved input position; the documented response preserves order and length. Retain every decided registration result with its check time and source row key. For an item with exists=false, the normal result fields are absent, so keep that item unresolved. Review only unresolved positions for input correction or an appropriate later check. Repeating the entire list would repeat already decided work.
Consider a ten-number response with seven registered=true, two registered=false, and one entry without a usable result. The nine decided observations remain attached to their respective numbers; only the last entry needs review. The two negative observations are not failures, and the unresolved entry is not a third negative. If the saved input and result positions do not align, pause the local reconciliation rather than attach a result to the wrong customer.
This distinction also matters when a number appears in more than one customer record. The observation belongs to the submitted number at a time, while your own source-row mapping decides how to attach it to records. It cannot establish who owns the number or whether a customer consented to contact. Keep those business facts separate from the check outcome.
Use a three-way recovery rule in the worker
Your worker can make one decision from the evidence it has: received 50400 means confirmed whole-request failure and a fresh attempt for the complete saved list; no server response means an unknown attempt pending investigation; usable multi response means save decided items and handle unresolved items at their own positions. Store the branch, the reason, and the next attempt separately. This is an application workflow built around the documented API behavior, not an additional WA Lookup endpoint.
Before implementing the branch, compare your HTTP client deadline with the current API timeout rules, and test the three paths using controlled local fixtures. Make the saved request snapshot and response log readable to the person who will investigate a stuck contact list. That gives them a concrete answer to the next question: which numbers need a new request, and which already have a dated decision?
FAQ
Does a client-side timeout mean the multi check was refunded?
No refund can be concluded from a client-only timeout. Keep the attempt unresolved until you have a WA Lookup response or other reliable account evidence. A returned 50400 is the documented whole-batch failure and refund case.
Should every number be retried when one result is unresolved?
No. With a usable multi response, retain the decided entries and review the unresolved entry separately. Resubmit the complete saved list when WA Lookup returned the documented whole-batch 50400 failure.
Learn More
Choose the product information that fits the next step in your workflow.