It indicates that your subnet has a range overlapping another subnet with the default VPC. Check the IP ranges of any existing Subnets, and use a CIDR visualizer like https://cidr.xyz/ to see what ranges are available for a new subnet.
When you say doesn’t any range of 172.31.0.0/16. Probably, there is a subnet consuming all the IPs from the VPC.