Functions are still in closed Beta and might not be enabled for your instance
If you get an error like this:
error: Uncaught PermissionDenied: Requires net access to "example.com", run again with the --allow-net flag …
Please contact us at firstname.lastname@example.org and request that the used URL should be allowed. We will then check if the URL is safe and allowlist it if applicable.