When the Cloud API rejects a template send with (#100) Invalid parameter and "Parameter name is missing or empty", check the parameters array. Every text parameter object must include parameter_name matching the variable name in the approved template, e.g. {"type": "text", "parameter_name": "customer_name", "text": "John"}. Sending only {"type": "text", "text": "John"} triggers this exact error. Text values should be plain strings, double-quoted, with no extra nesting. This applies to template sends outside the 24-hour window where every variable must resolve.

Context: Stack Overflow #79396912 (best answer, 11 votes): sending a template message fails with "(#100) Invalid parameter", details "Parameter name is missing or empty". The top answer says every object in the parameters array needs a parameter_name matching the template, not just type and text.