I’m trying to change the nameservers for my domain and get the nRRPResponseCode 531/541 error message
Error nRRPResponseCode 531/541 means that the nameservers you are trying to set up are not registered yet at the registry level, so you need to make sure they are registered before updating the domain. Please contact your hosting company that provided you with the nameservers for more information.
If you want to set up private nameservers based on your domain name (e.g., ns1.yourdomain.tld, ns2.yourdomain.tld), and the domain is registered with Namecheap, check this article.
If you have any questions, feel free to contact our Support Team.