# Citation references are sometimes corrupted

**URL:** <https://community.perplexity.ai/t/citation-references-are-sometimes-corrupted/97>\
**Category:** Bug Reports\
**Created:** [May 15, 2025, 12:15am UTC](https://community.perplexity.ai/t/citation-references-are-sometimes-corrupted/97 "2025-05-15T00:15:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikvang](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@vikvang](https://community.perplexity.ai/u/vikvang)\
**Post date:** [May 15, 2025, 12:15am UTC](https://community.perplexity.ai/t/citation-references-are-sometimes-corrupted/97/1 "2025-05-15T00:15:51Z")

</div>

We’re using the streaming mode to interact with the API. Sometimes we see corrupted citation references in the text. In the following screenshot the [3] reference is corrupted and transferred as [3/\>.

 ![image](https://us1.discourse-cdn.com/flex001/uploads/sonar1/original/1X/10f38d0075a95c21699c17187fc81c9662f8281f.png)

When it happens it appears consistently in the `delta` and repeatedly in the message `contents`.  
In general it’s the closing `]` that gets replaces with some character. Very often a `<` or sometimes a `%`.  
Anybody seeing this?
