---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/60252#article
headline: "60252: Templates are invalid"
url: https://www.twilio.com/docs/api/errors/60252
inLanguage: en
dateModified: 2026-08-27T13:41:39.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 60252: Templates are invalid

Log Type: APPLICATION

Log Level: ERROR

## Description

Twilio Verify could not generate a message from the provided templates. This occurs when all supplied template candidates fail validation, such as when a template is unapproved or missing required substitutions

HTTP status: 400

### Possible causes

* The provided template candidates failed validation (e.g., due to rendering issues).
* One or more template candidates are unapproved
* One or more candidates are missing required substitutions.
* A template candidate does not support the requested delivery channel.
* A template candidate contains invalid content for its template type.

### Possible solutions

* Review each template candidate to confirm that it is approved.
* Provide all required substitution values for every template candidate.
* Use only template candidates compatible with the requested delivery channel.
* Check that the translation content matches the template type for each candidate.
* Remove or replace any invalid template candidates before retrying the verification.

### Related errors

* [Selected template translation is not approved](/docs/api/errors/60201)
* [Missing substitutions for selected template](/docs/api/errors/60224)
* [The selected channel for template is not supported](/docs/api/errors/60227)
* [Template was not found](/docs/api/errors/60228)
* [Translation content is invalid for this template type](/docs/api/errors/60249)

#### Additional resources

* [Start New Verification](/docs/verify/api/verification#start-new-verification)
* [Verify Templates API](/docs/verify/api/templates)
* [Getting Started with Verification Templates](/docs/verify/verification-templates)
