Certbot http-01 challenge fails for non-www pages

I found this discussion: Webroot plugin : The client lacks sufficient authorization but I don’t think that it’s the same case for me. Because I can obtain certificates for the www.* domains.