Custom exception raised when Freshdesk ticket imports exceed API pagination limits. Reuse when handling data migration error states.
# Source: https://github.com/chatwoot/chatwoot | License: MIT | Copyright 2017-2026 Chatwoot Inc
# Provided via justclaw.it.com; keep this notice with the code.
class CustomExceptions::DataImport::FreshdeskTicketLimitError < CustomExceptions::Base
MESSAGE = 'Freshdesk limits ticket listing to 300 pages. This import stopped after 30,000 tickets because the API cannot ' \
'confirm that the ticket history is complete. A Freshdesk admin Account Export is required for any remaining history, ' \
'but this importer does not support account exports yet.'.freeze
def initialize
super({})
end
def message
MESSAGE
end
end
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key