The query options have an invalid batch size value.
INVALID_CLIENT
The client is invalid.
INVALID_CROSS_REFERENCE_KEY
An invalid foreign key cannot be set on a field.
INVALID_EMAIL_ADDRESS
A specified email address is invalid.
INVALID_FIELD
The specified field name is invalid.
INVALID_FIELD_FOR_INSERT_UPDATE
The specified change to a person account record type cannot be combined with any other field update.
INVALID_ID_FIELD
The specified ID is correctly formatted, but is not valid, for example, it is an ID of the wrong type, or the object it identifies no longer exists.
INVALID_LOGIN
The login credentials are not valid, or the maximum number of logins have been exceeded. Contact your administrator for more information.
INVALID_MASTER_OR_TRANSLATED_SOLUTION
The solution is invalid, for example, you have tried to associate a translated solution to a master solution, but a translated solution in the same languge is already associated with the master solution.
INVALID_NEW_PASSWORD
The new password does not conform with the password policies of the organization.
INVALID_OPERATION
The client application tried to submit an object that is already in process as part of workflow approval or processing.
INVALID_OPERATION_WITH_EXPIRED_PASSWORD
Due to password expiration, a valid password must be set using setPassword before the call can be invoked.
INVALID_QUERY_FILTER_OPERATOR
An invalid operator was used in the query filter clause, at least for that field.
The specified relationship is invalid. You may need to add __r to correctly specify the relationship, or check your WSDL or the describe call for the correct relationship name.
INVALID_REPLICATION_DATE
The date for replication is out of the allowed range, such as before the organization was created.
The specified sessionId is invalid or has expired. Log in again to start a new session.
INVALID_SOAP_HEADER
There is an error in the SOAP header. If you are migrating from an earlier version of the API, be advised that the SaveOptions header cannot be used with API version 6.0 or later. Use AssignmentRuleHeader instead.
INVALID_SSO_GATEWAY_URL
The URL provided to configure the Single Sign-On gateway was not a valid URL.
The specified sObject type is invalid for the specified operation.
LIMIT_EXCEEDED
An array is too long. For example, there are too many BCC addresses, targets, or emails.
LOGIN_DURING_RESTRICTED_DOMAIN
The user is not allowed to log in from this IP address.
LOGIN_DURING_RESTRICTED_TIME
The user is not allowed to log in during this time period.
MALFORMED_ID
An invalid ID string was specified. For information about IDs, see ID Field Type.
MALFORMED_QUERY
An invalid query string was specified. For example, the query string was longer than 10,000 characters.
MALFORMED_SEARCH
An invalid search string was specified. For example, the search string was longer than 10,000 characters.
MASS_MAIL_LIMIT_EXCEEDED
The organization has exceeded its daily limit for mass email. Mass email messages cannot be sent again until the next day.
MISSING_ARGUMENT
A required argument is missing.
NO_APPLICABLE_PROCESS
A record was submitted for processing that does not satisfy the entry criteria of any workflow for any workflow process for which the user has permission.
NO_MASS_MAIL_PERMISSION
You do not have the required permission (either Mass Email if sending mass mail or Send Email if sending individual email).
NUMBER_OUTSIDE_VALID_RANGE
The number supplied is outside the valid range.
OPERATION_TOO_LARGE
The query has returned too many results. Some queries, for example those on objects that use a polymorphic foreign key like Task, if run by a user without the "View All Data" permission, would require sharing rule checking if many records were returned. Such queries return this exception because the operation requires too many resources. To correct, add filters to the query to narrow the scope, or use filters such as date ranges to break the query up into a series of smaller queries.
ORG_LOCKED
The organization has been locked. You must contact salesforce.com to unlock the organization.
PASSWORD_LOCKOUT
The user has exceeded the allowed number of login attempts. The user must contact his or her administrator to regain login access.
SOQL query is either selecting too many fields or there are too many filter conditions. Try reducing the number of formula fields referenced in the query.
REQUEST_LIMIT_EXCEEDED
Exceeded either the concurrent request limit or the request rate limit for your organization. For details, see API Usage Metering.
REQUEST_RUNNING_TOO_LONG
A request has taken too long to be processed.
REQUIRED_FIELD_MISSING
A call requires a field that was not specified.
SERVER_UNAVAILABLE
A server that is necessary for this call is currently unavailable. Other types of requests might still work.
SSO_SERVICE_DOWN
The service was unavailable, and an authentication call to the organization’s specified Single Sign-On server failed.
TEMPLATE_NOT_ACTIVE
The template specified is unavailable. Specify another template or make the template available for use.
TRIAL_EXPIRED
The trial period for the organization has expired. A representative from the organization must contact salesforce.com to re-enable the organization.
UNABLE_TO_LOCK_ROW
A deadlock or timeout condition has been detected:
Deadlocks involve at least two transactions updating overlapping sets of objects. Note that if the transaction involves a summary field, the parent objects are locked, making these transactions especially prone to deadlocks. To debug, check your code for deadlocks and correct. Deadlocks are usually not the result of an issue with Salesforce operations.
Timeouts occur when a transaction takes too long to complete, for example, replacing a value in a picklist, or changing a custom field definition. These are temporary states. There is no corrective action needed.
Note that if an object in a batch cannot be locked, the entire batch fails with this error.
UNKNOWN_EXCEPTION
The system encountered an internal error. Please report this problem to salesforce.com.
UNSUPPORTED_API_VERSION
A method call was made that does not exist in the accessed API version, for example, trying to use upsert (new in 8.0) against version 5.0.
UNSUPPORTED_CLIENT
This version of the client is no longer supported.