30120: Domain certificate and private key are not uploaded
MESSAGING
ERROR
Twilio returns this when a Link Shortening domain has not had its TLS certificate and private key uploaded yet. Upload the certificate material before you use the domain for link shortening.
- You haven't uploaded a TLS certificate/private key pair for the Link Shortening domain.
- You haven't completed the certificate upload step for the domain, so Twilio can't validate it yet.
- Upload the TLS certificate and private key in Console under Upload certificate, then click Upload. Make sure the certificate starts with
-----BEGIN CERTIFICATE-----and the private key starts with-----BEGIN PRIVATE KEY-----. - If you use the API,
POSTthe concatenated certificate and private key to the domain's Certificate subresource inTlsCert. - Wait for validation to complete before retrying. Certificate validation can take up to five minutes, and Twilio returns a pending
cert_in_validation.statuswhile validation is in progress.