Office 365 Listener
Most recent version: v1.0.0
Learn more about this Listener type in this article.
v1.0.0
Released on 03/04/2026
We have added structured error handling for Office 365 API responses, including:
Parse JSON error responses with error codes and messages
Distinguish between permanent (non-retryable) and retryable errors
Support for Office 365 error codes: AF20050, AF20051, AF20052
Add retry logic with attempt tracking
implement max retry attempts (3) to prevent unbounded retry loops
track retry attempts per content ID with failedRetryAttempts map
improved error messages include attempt counts (e.g., "attempt 2/3")
cleanup of retry attempt counters on success and permanent failures
We have implemented safeguards against memory exhaustion in high-volume data processing scenarios in the deduplication system (which prevents duplicate message processing)
implement size limit for processedContentIDs map (500k entries max, ~50 MB)
clear map when limit reached to prevent OOM in high-volume
log warning when map is cleared for monitoring/alerting
We have added memory protection for retry map. This update implements safeguards against memory exhaustion in the retry system. Failed content entries are now automatically removed from the retry tracking map after they exceed their maximum retry attempts, rather than being stored indefinitely.
remove failed content after exceeding max retry attempts
prevent unbounded growth of failedContentURIs map
v0.2.0
Released on 02/10/2026
New logs for errors and pre-fetch operations.
Added proxy configuration settings.
In order to use this Listener, you must activate the following environment variable in your distributor using docker compose:
SINGLETON_LISTENER_EXECUTOR=true.Fixed deadlock in the
fetchmethod.Fixed next page query parameter (
nextpage>nextPage).Fixed forever loop in the
listContentfunction.
Last updated
Was this helpful?

