Recently encountered a weird issue with cPanel DNS Zone Editor that wasn’t mentioned anywhere on cPanel official documentation nor their forums, so I decided to write a quick guide for anyone else that might experience this issue in the future.
The problem was that cPanel was not accepting CNAME record for a subdomain with the following error message:
Error: The request failed. (Error ID: xxxxxx) Ask your hosting provider to research this error in cPanel & WHM's main error log.
As I suspected the problem was with that domain’s DNS zone and after troubleshooting the issue I noticed that the line that was causing this problem is a TXT record on that same subdomain:
After removing this TXT record from the DNS zone the CNAME could be successfully added.
Later I was also able to reproduce the issue if the domain already has a CNAME record, cPanel does not allow TXT records to be added: