Webhook Endpoint Error Codes

The below table describes the different error codes that can be returned when using endpoints related to webhooks.

Error CodeError Message
TECHNICAL_ERRORTechnical error.
UNABLE_TO_GET_RESULTS_FROM_DATABASEUnable to get result from database.
WEBHOOK_NOT_REGISTEREDThe webhook referenced in the request isn't registered with Thredd.
INVALID_WEBHOOK_IDInvalid webhookId format.
EMPTY_EVENTCODESEvent Codes cannot be empty.
INVALID_EVENTCODEEvent Code should be valid.
DUPLICATE_EVENTCODEEvent Code should be unique.
SUBSCRIBED_EVENTCODECannot subscribe to the same Event Code multiple times.
DUPLICATE_EVENT_IN_EVENT_ARRAYPlease ensure there are no duplicate event codes in the event array.
DUPLICATE_WEBHOOKFound duplicate registration with same ProgramManagerCode/ProductId
INVALID_NOTIFICATION_IDInvalid notificationId.
IS_REQUIRED_NOTIFICATION_IDNotification Id is required.
NOTIFICATION_NOTFOUNDNo notifications found.
NOTIFICATION_BULK_GET_LIMIT_EXCEEDEDCannot request notifications for more than 100 numbers at once.
INVALID_DATEPlease provide a valid date in the format yyyy-MM-dd.
UNDELIVERED_NOTIFICATIONS_NOTFOUNDNo undelivered notifications found.
FUTURE_DATEFuture dates are not permitted.
CURRENT_STATUS_IS_SAME_AS_ENTERED_STATUSCurrent webhook status is same as the entered status.
EXCEEDS_MAXIMUM_CUSTOM_HEADER_LIMITPlease ensure that the custom header count does not exceed three.
WEBHOOK_IS_NOT_ACTIVE_IN_STATUSThe webhook is not marked as active.
PMCODE_NOT_VALIDThe Program manager code is invalid.
NOTIFICATION_RESEND_LIMIT_EXCEEDEDCannot resend notifications for more than 25 numbers at once.
PMCODE_REQUIREDProgram manager code is required.
DUPLICATE_NOTIFICATION_IDDuplicate occurrence of NotificationId is not permitted.
WEBHOOK_DETAILS_NOTFOUNDNo webhook details were found for the provided program manager code.
INVALID_REQUEST_BODYThe programManagerCode field is required.
EVENTCODE_NOTFOUNDEvent code not found within Thredd system.
EVENTCODE_NOT_SUBSCRIBEDEvent code not subscribed yet.
EVENTCODE_ASSOCIATED_WITH_WEBHOOKUnable to delete the event code since it is associated with a webhook.
IS_REQUIRED_FROM_DATEFrom date is required.