Why
- The scheme is not
https. - The port is not 443 or 8443.
- The URL carries a user name, a password or a fragment.
- The host is an IP address, not a DNS name.
- The host name does not resolve.
- The host name resolves to an address that is not public.
What to do
Register anhttps URL on port 443 or 8443. Its host name must resolve only to public addresses.
In the SDKs
The Node and Python SDKs raiseBadRequestError. The Go SDK returns *apierrors.BadRequestError, which you match with errors.As.