Event error codes
If the vendor communicates a failure when processing information from AppDirect, one of the following error codes must be returned:
Error Code | Description |
---|---|
USER_ALREADY_EXISTS | This 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_FOUND | This error code is typically used when AppDirectadministrators try to unassign users not found in the Vendor's account. |
ACCOUNT_NOT_FOUND | This 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_REACHED | This 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. |
UNAUTHORIZED | This 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_CANCELLED | This error code is returned when a user manually interrupts the operation (for example, by clicking cancel on the account creation page). |
CONFIGURATION_ERROR | This error code is returned when the vendor endpoint is not currently configured. |
INVALID_RESPONSE | This error code is returned when the vendor was unable to process the event fetched from AppDirect. |
PENDING | This error code is returned when the vendor was unable to process the event because the service is under provisioning. |
FORBIDDEN | This error code is returned when the operation is not allowed. |
BINDING_NOT_FOUND | This error code is returned when the specified binding cannot be found. |
TRANSPORT_ERROR | This error code is returned when there is a transport error, such as the server is unreachable. |
UNKNOWN_ERROR | This error code may be used when none of the other error codes apply. |
Was this page helpful?
Tell us more…
Help us improve our content. Responses are anonymous.
Thanks
We appreciate your feedback!