This document provides a detailed list of error codes returned by the Dots API, including descriptions to help you troubleshoot issues effectively. The errors are divided into the following types:

Authentication Errors

CodeDescription
auth-email-already-existsThe provided email address is already in use.
auth-username-already-existsThe provided username is already in use.
invalid-inputThe input provided is invalid.
invalid-ssnThe provided Social Security Number (SSN) is invalid.
invalid-usernameThe username is invalid. Usernames may only contain letters, digits, and hyphens (-). They must not contain swear words or protected words.
invalid-phone-numberThe phone number provided is invalid.
invalid-emailThe email address provided is invalid.
invalid-phone-number-voipVOIP phone numbers are not allowed.
invalid-phone-number-landlineLandline phone number not allowed.

Invoice Errors

CodeDescription
invalid-invoice-requested-informationThe value for requested information in the invoice is invalid.
invalid-invoice-breakdownThe breakdown of the invoice is invalid.
invalid-invoice-itemThe invoice item is invalid.
invalid-invoice-item-totalThe totals of the invoice items are incorrect.

Transaction Errors

CodeDescription
invalid-transactionThe transaction is invalid.
transaction-insufficient-fundsThere are insufficient funds in the wallet.

User Information Errors

CodeDescription
user-info-missingThe user has missing or invalid information.
user-info-missing-cash-appThe user is missing Cash App account information.
user-info-missing-contactThe user is missing contact information.
user-info-missing-cardThe user is missing credit card information.
app-info-missingThe app has missing or invalid information.

Service Errors

CodeDescription
service-unavailableA service was unavailable.
resource-busyThe resource is unavailable because one or more previous requests are still being processed.