Skip to navigation

APIErrorCode

View as Markdown
global class APIErrorCode
Description
Constants for API error codes.

SUCCESS
global static final Integer SUCCESS
No error occurred.
0
FAILURE
global static final Integer FAILURE
An unspecified error occurred.
1
NOT_FOUND
global static final Integer NOT_FOUND
Entity not found.
404
ACCOUNT_LACKS_PERMISSIONS
global static final Integer ACCOUNT_LACKS_PERMISSIONS
The account does not have access to a Docusign feature.
1003
USER_ALREADY_EXISTS_IN_ACCOUNT
global static final Integer USER_ALREADY_EXISTS_IN_ACCOUNT
The user is already a member of the account.
1004
UNKNOWN_RECIPIENT
global static final Integer UNKNOWN_RECIPIENT
The envelope recipient is unknown.
1005
USER_PENDING
global static final Integer USER_PENDING
The user is in a pending activation state.
1006
UNKNOWN_USER
global static final Integer UNKNOWN_USER
The user is unknown to Docusign.
1007
INVALID_RECIPIENT_SEQUENCE
global static final Integer INVALID_RECIPIENT_SEQUENCE
The recipient sequence is invalid for the envelope.
1008
TRIAL_ACCOUNT_EXPIRED
global static final Integer TRIAL_ACCOUNT_EXPIRED
The Docusign trial has expired.
1011
USER_NOT_ACTIVATED
global static final Integer USER_NOT_ACTIVATED
The user has not yet been activated in Docusign.
1013
HOURLY_API_LIMIT_EXCEEDED
global static final Integer HOURLY_API_LIMIT_EXCEEDED
The hourly API limit has been exceeded for the Docusign account.
1014
INVALID_DOCUMENT
global static final Integer INVALID_DOCUMENT
The envelope document is invalid.
1015
INVALID_RECIPIENT
global static final Integer INVALID_RECIPIENT
The envelope recipient is invalid.
1016
CONSENT_REQUIRED
global static final Integer CONSENT_REQUIRED
The user has not granted consent to be impersonated by this application.
1017
INVALID_SIGNING_GROUP
global static final Integer INVALID_SIGNING_GROUP
The envelope recipient signing group is invalid.
1022