## Problem Description The Gnosis Gateway experienced an encoding error when executing `getChannelsByTopic`. The error mentions invalid UTF8 byte sequences. ## Exact Error Text ``` [01:34:29] ERROR: getChannelsByTopic error: Error: Failed to get entities from store: invalid byte sequence for encoding "UTF8": 0x00, query = /* controller='filter',application='sgd3',route='bcc8ebbc63e8a3f1-6dc8c4ef99f8cc6a',action='41759191' */ ``` ## Error Details - **Service**: Gnosis Gateway - **Component**: `getChannelsByTopic` - **Frequency**: 1 occurrence (Aug 24, 01:34:29) - **Status**: Single incident, unknown if it's a real problem ## What We Know - Error occurred once on Aug 24 at 01:34:29 - Error message mentions UTF8 encoding and null bytes (0x00) - Related to `getChannelsByTopic` function - Query includes specific controller/application/route identifiers ## What We Don't Know - Is this a recurring issue or one-time occurrence? - What data source caused the encoding issue (IPFS, Graph node, etc.)? - Whether this indicates actual data corruption or a transient issue - Impact on functionality (was the query retried successfully?) ## Investigation Needed 1. **Monitor for recurrence** - Check if this error happens again 2. **Identify data source** - Determine where the invalid UTF8 data originated 3. **Assess impact** - Check if the operation was retried or if it caused user-facing issues ## Files to Investigate - Gnosis Gateway `getChannelsByTopic` function - Data store/query handling code - UTF8 encoding validation logic