Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

30109: Callback URL is invalid

Twilio Messaging DocumentationMessaging

Description

description page anchor

This error occurs when the CallbackUrl in your Link Shortening domain configuration isn't a valid URL. Click event data is sent to this callback URL after a recipient clicks a shortened link.

Possible causes

possible-causes page anchor
  • The CallbackUrl is missing a protocol such as http:// or https://.
  • The hostname is invalid, incomplete, or malformed.
  • The path or query string contains characters that aren't properly URL-encoded.
  • You entered an invalid Click tracking callback URL in the Console, or sent an invalid CallbackUrl parameter in the request.
  • Submit a fully qualified CallbackUrl that includes the protocol, hostname, and any required path.
  • If you configure Link Shortening in the Console, update the Click tracking callback URL and save the domain configuration again.
  • If you configure Link Shortening with the API, send a corrected CallbackUrl in a POST request to the Link Shortening domain's Config subresource.
  • URL-encode special characters in the path and query string before you save or submit the callback URL.

Additional resources

additional-resources page anchor