Error creating google chat webhook

When I try to save a google chat webhook I get the error:

The url data for WebhookSchema you provided are invalid. Please try again (Could not resolve chat.googleapis.com.)

I checked that curl example works and of course chat.googleapis.com resolves.

Hey! Thanks for reaching out! We have an active bug that may be related to this and a solution that should reach production soon. Do you mind checking if you fully specify a port for your webhook URL? In other words, are you using https://chat.googleapis.com:443/ or https://chat.googleapi.com/ as your prefix? Using the former bypasses the known issue.