# Unable to load context

**URL:** <https://discourse.greatexpectations.io/t/unable-to-load-context/2239>\
**Category:** GX Core Support\
**Tags:** help-wanted, databricks\
**Created:** [July 1, 2025, 12:14pm UTC](https://discourse.greatexpectations.io/t/unable-to-load-context/2239 "2025-07-01T12:14:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhavana](https://avatars.discourse-cdn.com/v4/letter/b/7c8e57/32.png) [@Bhavana](https://discourse.greatexpectations.io/u/Bhavana)\
**Post date:** [July 1, 2025, 12:14pm UTC](https://discourse.greatexpectations.io/t/unable-to-load-context/2239/1 "2025-07-01T12:14:47Z")

</div>

i have a data context created at a custom location using get\_context(mode = ‘file’, context\_root\_dir=path) function. after couple of days, when i try to load the existing context using get\_context(mode = ‘file’, context\_root\_dir=path). I get the error **AttributeError: ‘str’ object has no attribute ‘name’**

I see that the “yml” file is also there. Why do i get this error?

Can anyone help?
