Error Codes for Troubleshooting

This page provides error codes and explanations to use when troubleshooting the reseller API endpoints.

Reseller API errors are in JSON format.

{
code: string, message: string, field: string | null,
value: string | null, status: number
}

GET Order Status

Error Code

Explanation

400 - ORDER_NOT_FOUND

Order information could not be found in UD systems.

GET User Status

Error Code

Explanation

400 - INVALID_EMAIL

Email address is not valid.

GET Domain Name Availability

Error Code

Explanation

400 - DOMAIN_NAME_INVALID

Domain name is not valid or is unavailable for purchase.

GET Reverse Look Up

Error Code

Explanation

400 - EXTENSION_INVALID

Extension is not valid or supported by UD.

400 - OWNER_INVALID

Owner information is not valid or doesn’t match UD records.

POST Buy Domain

Error Code

Explanation

400 - INVALID_ORDER_SCHEMA

Order information is not properly formatted or is missing critical information such as payment type (e.g. “Coinbase” for payment).

400 - UNALLOWED_PAYMENT_METHOD

Payment method is not supported by UD. Must use Stripe or Coinbase.

400 - INVALID_PUBLIC_KEY

Public key information is incorrect or invalid.

  • Stripe Test Public Key: pk_test_* (reseller-test-* namespace)

  • Stripe Live public key: pk_live_* (all other domains)

400 - INVALID_OWNER_ADDRESS

Owner address is not valid.

400 - DOMAIN_UNAVAILABLE

Domain name is unavailable for purchase.

400 - STRIPE_CARD_INVALID

Stripe card information is invalid or the customer enters credit card information that cannot be charged for some reason.

400 - STRIPE_TOKEN_ID_INVALID

Stripe unique tokenID is invalid or expired and the order cannot be processed. Start a new order to continue.