Skip to main content

Event error codes

If the vendor communicates a failure when processing information from AppDirect, one of the following error codes must be returned:

Error CodeDescription
USER_ALREADY_EXISTSThis error code is typically used when AppDirect administrators try to buy subscriptions for apps they have already purchased directly from the application vendor. In this scenario, we will show the user an error message and prompt them to link their account.
USER_NOT_FOUNDThis error code is typically used when AppDirectadministrators try to unassign users not found in the Vendor's account.
ACCOUNT_NOT_FOUNDThis error code is typically used when AppDirect administrators try to add or remove users from an account not found in the Vendor's records.
MAX_USERS_REACHEDThis error code is typically used when AppDirect administrators try to assign users beyond the limit of the number of seats available. AppDirect will typically prevent that from happening by monitoring application usage.
UNAUTHORIZEDThis error code is returned when users try any action that is not authorized for that particular application, for example, if an application does not allow the original creator to be unassigned.
OPERATION_CANCELLEDThis error code is returned when a user manually interrupts the operation (for example, by clicking cancel on the account creation page).
CONFIGURATION_ERRORThis error code is returned when the vendor endpoint is not currently configured.
INVALID_RESPONSEThis error code is returned when the vendor was unable to process the event fetched from AppDirect.
PENDINGThis error code is returned when the vendor was unable to process the event because the service is under provisioning.
FORBIDDENThis error code is returned when the operation is not allowed.
BINDING_NOT_FOUNDThis error code is returned when the specified binding cannot be found.
TRANSPORT_ERRORThis error code is returned when there is a transport error, such as the server is unreachable.
UNKNOWN_ERRORThis error code may be used when none of the other error codes apply.

Was this page helpful?