Here are some of the problems you may frequently encounter when integrating crypto payments with Unstoppable Domains and how to fix them.
This error occurs when you try to resolve a domain that is not registered and owned by any address on the blockchain. The solution is to provide an existing domain to the resolution library or inform the user to double-check their input.
This error occurs when you try to resolve a domain record that does not exist, for example, resolving the Twitter handle of a domain that doesn't have one. The solution is to inform the user that they have not set the record you request.
This error occurs when the resolution libraries cannot find a resolver contract address for the domain you're trying to resolve. The solution is to inform the user that their domain has no resolver or manually provide one for the library.
This error occurs when you try to resolve a domain with an ending not supported by Unstoppable Domains. The solution is to provide a domain with a supported ending to the resolution instance or inform the user to double-check their input.
This error can pop up in the following ways depending on the resolution library:
InvalidDomainNameReturnedError. It occurs when you try to resolve a domain that follows an invalid format, for example, resolving a domain name with a missing ending or does not follow standard domain naming conventions.
Having troubles using our services? We’re here to help. Join our Discord Community for real-time support from UD and the community if you need assistance integrating your app.