AppExchange logo

ExceptionCode


An ExceptionCode contains information about an ApiFault that occurred during a call. For more information, see Error Handling in the API. Also, see List of APIFault Types.

The following list of ExceptionCode values is defined in your WSDL file:

ExceptionCode
Description
API_CURRENTLY_DISABLED
Because of a system problem, API functionality is temporarily unavailable.
API_DISABLED_FOR_ORG
The API has not been enabled for the organization. Contact salesforce.com to enable API access.
EMAIL_TO_CASE_LIMIT_EXCEEDED
The daily converted email limit for the Email-to-Case feature has been exceeded.
EMAIL_TO_CASE_NOT_ENABLED
The Email-to-Case feature has not been enabled.
EXCEEDED_ID_LIMIT
Too many IDs were requested in a retrieve call.
EXCEEDED_LEAD_CONVERT_LIMIT
Too many IDs were sent to a convertLead call.
EXCEEDED_MAX_SIZE_REQUEST
The size of the message sent to the AppExchange Web service exceeded 50 MB.
EXCEEDED_MAX_TYPES_LIMIT
The number of object types to describe is too large.
EXCEEDED_QUOTA
The size limit for organization data storage was exceeded during a create call.
FUNCTIONALITY_NOT_ENABLED
Functionality has been temporarily disabled. Other calls may continue to work.
IMAGE_TOO_LARGE
The image exceeds the allowed size parameters.
INACTIVE_OWNER_OR_USER
The user or record owner is not active.
INSUFFICIENT_ACCESS
The user does not have sufficient access to perform the operation.
INVALID_ASSIGNMENT_RULE
An invalid AssignmentRuleHeader value was specified.
INVALID_BATCH_SIZE
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_FIELD
The specified field name is invalid.
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.
INVALID_NEW_PASSWORD
The new password does not conform with the password policies of the organization.
INVALID_OPERATION
 
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.
INVALID_QUERY_LOCATOR
An invalid queryLocator parameter was specified in a queryMore call.
INVALID_QUERY_SCOPE
The specified search scope is invalid.
INVALID_REPLICATION_DATE
The date for replication is out of the allowed range, such as before the organization was created.
INVALID_SEARCH
The search call has invalid syntax or grammar. See Sforce Object Search Language (SOSL).
INVALID_SEARCH_SCOPE
The specified search scope is invalid.
INVALID_SESSION_ID
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 5.5 or later. Use AssignmentRuleHeader instead.
INVALID_SSO_GATEWAY_URL
The URL provided to configure the Single Sign-On gateway was not a valid URL.
INVALID_TYPE
The specified sObject type is invalid.
INVALID_TYPE_FOR_OPERATION
The specified sObject type is invalid for the specified operation.
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 Fields.
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.
MISSING_ARGUMENT
A required argument is missing.
OPERATION_TOO_LARGE
The query exceeds the size limit.
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.
QUERY_TIMEOUT
The query has timed out. For more information, see Sforce Object Query Language (SOQL).
QUERY_TOO_COMPLICATED
 
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 Request Metering.
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.
TRIAL_EXPIRED
The trial period for the organization has expired. A representative from the organization must contact salesforce.com to re-enable the organization.
UNKNOWN_EXCEPTION
The system encountered an internal error. Please report this problem to salesforce.com.
UNSUPPORTED_API_VERSION
The file represents an unsupported version of the API.
UNSUPPORTED_CLIENT
This version of the client is no longer supported.


© Copyright 2000-2006 salesforce.com, inc.
All rights reserved • Various trademarks held by their respective owners.
Have feedback about this page? Click the red email icon in the top right corner to contact us.