Fix decode error handling for non-unicode channel_id