UploadSsl job failed uploading a custom SSL cert

Getting

UploadSsl job failed [unexpected]: Request to /tls/activations failed with 400: Please add  `staging.mydomain.com`  to an active service to begin TLS enablement.

When trying to upload a custom ssl cert

This will happen if the domain assosciated with your certificate is not active in an environment that has been deployed to before. Make sure you have the domain set up on one of your environments and have deployed to that environment at least once for the change to take effect.