---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/57002#article
headline: "57002: 'Secret id' is too long"
url: https://www.twilio.com/docs/api/errors/57002
inLanguage: en
dateModified: 2026-03-25T13:34:46.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 57002: 'Secret id' is too long

Log Type: APPLICATION

Log Level: ERROR

## Description

This error appears when the `Secret id` value in a Branded Comms request exceeds the allowed length.

### Possible causes

* The `Secret id` value in the request is longer than Twilio accepts.

### Possible solutions

* Pass a valid `Secret id` value that fits the expected length, then retry the request.
* Review the request payload or integration that supplies `Secret id`, then remove any extra characters before you send it again.

#### Additional resources

* [Debugging Your Twilio Application](/docs/usage/troubleshooting/debugging-your-application)
* [Trust Hub](/docs/trust-hub)
