Nevertheless, I agree that we need to improve the error message here but this is already on the way AFAIK.
OK. Good hint! Indeed we're using a custom endpoint via the AWS API gateway. For the sake we've disabled the limitation to outbound connections to endpoints in the allow-list like that:
This helped. We'll turn it on and add our endpoint to the list. Thanks Dirk!