An enumeration that provides a reason for why a given contact was invalid, for example, as thrown via an EDAMInvalidContactsException.
- BAD_ADDRESS
- The contact information does not represent a valid address for a recipient. Clients should be validating and normalizing contacts, so receiving this error code commonly represents a client error.
- DUPLICATE_CONTACT
- If the method throwing this exception accepts a list of contacts, this error code indicates that the given contact is a duplicate of another contact in the list. Note that the server may clean up contacts, and that this cleanup occurs before checking for duplication. Receiving this error is commonly an indication of a client issue, since client should be normalizing contacts and removing duplicates. All instances that are duplicates are returned. For example, if a list of 5 contacts has the same e-mail address twice, the two conflicting e-mail address contacts will be returned.
- NO_CONNECTION
- Indicates that the given contact, an Evernote type contact, is not connected to the user for which the call is being made. It is possible that clients are out of sync with the server and should re-synchronize their identities and business user state. See Identity.userConnected for more information on user connections.
Note that if multiple reasons may apply, only one is returned. The precedence order is BAD_ADDRESS, DUPLICATE_CONTACT, NO_CONNECTION, meaning that if a contact has a bad address and is also duplicated, it will be returned as a BAD_ADDRESS.