# Missing gaze data for some sessions

**URL:** <https://community.brain-map.org/t/missing-gaze-data-for-some-sessions/3264>\
**Category:** Technical\
**Tags:** brain-observatory-visual-coding, allensdk\
**Created:** [April 16, 2024, 12:31pm UTC](https://community.brain-map.org/t/missing-gaze-data-for-some-sessions/3264 "2024-04-16T12:31:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebbkw](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/sebbkw/32/1694_2.png) [@sebbkw](https://community.brain-map.org/u/sebbkw)\
**Post date:** [April 16, 2024, 12:31pm UTC](https://community.brain-map.org/t/missing-gaze-data-for-some-sessions/3264/1 "2024-04-16T12:31:08Z")

</div>

I’ve been using the AllenSDK Visual Coding dataset for a while now and it’s been working great.

Recently, I’ve been looking to augment my analyses using eye-tracking data, but found it doesn’t seem to be available for the sessions I’ve been using.

Here’s the error I’m getting:

> This ecephys session ‘732592105’ has no eye tracking data. (NWB error: “‘eye\_tracking’ not found in processing of NWBFile ‘root’.”)

Specifically, is the data just missing/not recorded for some sessions, or am I doing something wrong (here with the `session.get_pupil_data()` method).

Any help would be much appreciated!

---

<div class="post-metadata">

**Author:** ![joshs](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/joshs/32/8_2.png) [@joshs](https://community.brain-map.org/u/joshs)\
**Post date:** [April 16, 2024, 9:06pm UTC](https://community.brain-map.org/t/missing-gaze-data-for-some-sessions/3264/2 "2024-04-16T21:06:08Z")

</div>

Hi @sebbkw – you’re accessing the data the right way, but unfortunately the eye tracking data is not available for a subset of sessions.
