# The span does not contain setUserContext!

**URL:** <https://discuss.elastic.co/t/the-span-does-not-contain-setusercontext/347964>\
**Category:** APM\
**Tags:** ui\
**Created:** [November 24, 2023, 9:46pm UTC](https://discuss.elastic.co/t/the-span-does-not-contain-setusercontext/347964 "2023-11-24T21:46:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiagobr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiagobr/32/123162_2.png) [@thiagobr](https://discuss.elastic.co/u/thiagobr)\
**Post date:** [November 24, 2023, 9:46pm UTC](https://discuss.elastic.co/t/the-span-does-not-contain-setusercontext/347964/1 "2023-11-24T21:46:37Z")

</div>

According to the logs, the transactions are with the userContext, but the spans are without them and I need them to create the dashboard and do a FROM/TO with the user ids.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/e/ee332f0e902f35d5480d3052d1fc971c9805acb0.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/3/f3b6c4806b51a48ff654a8f7df0b8c5fe8d72b01.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/3/73baf77a3fbbd6e869cb914a3bcf25914ff008b8.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/a/fa8fea8e82b50ca0d9508e99f3cc729a40300116.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 22, 2023, 9:47pm UTC](https://discuss.elastic.co/t/the-span-does-not-contain-setusercontext/347964/2 "2023-12-22T21:47:25Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
