This article outlines error messages that might be issued when calling endpoints of the Domain Search API.
The Check Domain Availability endpoint might issue the following error message:
HTTP status | Error code | Error message | Troubleshooting |
---|---|---|---|
INVALID_ARGUMENT (400) | INVALID_DOMAIN | Failed to extract root domain from <domain> , or TLD is missing or invalid. | Start a new query including a domain name and supported TLD. Domain name and TLD must be separated by a dot. For example, my-new-domain.com . |
The Suggest Domains endpoint might issue the following error messages:
HTTP status | Error code | Error message | Troubleshooting |
---|---|---|---|
INVALID_ARGUMENT (400) | INVALID_QUERY | Query <query> has invalid characters. Only alphanumeric values, hyphens, dots, and spaces are supported. | Start a new query using only alphanumeric values, hyphens, dots, and spaces. |
INVALID_ARGUMENT (400) | INVALID_TLD_FORMAT | At least one element of the tlds array has an invalid format. | Start a new query using the correct TLD format. TLDs must not include the dot. For example, com , not .com . |
INVALID_ARGUMENT (400) | TLD_NOT_SUPPORTED | Unsupported TLDs <tlds> found. | Start a new query with supported TLDs such as com , net , and org . Contact the Wix B2B sales team for more information. |