# Error in expect\_column\_values\_to\_be\_in\_type\_list for python 3.11

**URL:** <https://discourse.greatexpectations.io/t/error-in-expect-column-values-to-be-in-type-list-for-python-3-11/1430>\
**Category:** GX Core Support\
**Tags:** help-wanted\
**Created:** [October 19, 2023, 9:44am UTC](https://discourse.greatexpectations.io/t/error-in-expect-column-values-to-be-in-type-list-for-python-3-11/1430 "2023-10-19T09:44:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hk-ds](https://avatars.discourse-cdn.com/v4/letter/h/b487fb/32.png) [@hk-ds](https://discourse.greatexpectations.io/u/hk-ds)\
**Post date:** [October 19, 2023, 9:44am UTC](https://discourse.greatexpectations.io/t/error-in-expect-column-values-to-be-in-type-list-for-python-3-11/1430/1 "2023-10-19T09:44:50Z")

</div>

Hello,  
I’m trying to run GX checks on python 3.11 and it seems like function `expect_column_values_to_be_in_type_list` that was working on python 3.8 is not working in 3.11.  
Error:

```auto
An issue has been found for pandas_dataframe.02_column_error:
{
  "kwargs": {
    "column": "id",
    "type_list": [
      "INTEGER",
      "integer",
      "int",
      "int_",
      "int8",
      "int16",
      "int32",
      "int64",
      "uint8",
      "uint16",
      "uint32",
      "uint64",
      "INT",
      "INTEGER",
      "INT64",
      "TINYINT",
      "BYTEINT",
      "SMALLINT",
      "BIGINT",
      "IntegerType",
      "LongType"
    ],
    "batch_id": "xxx"
  },
  "ge_cloud_id": null,
  "expectation_type": "expect_column_values_to_be_in_type_list",
  "meta": {}
}
Detailed issue:
{'observed_value': 'int64'}
{'raised_exception': False, 'exception_traceback': None, 'exception_message': None}

```

Using GX version `great-expectations==0.17.22`  
Can someone point me a direction where to look? I’ve already tried any things but there is no effect.  
There was no change in GX tests except python and gx package upgrade (and some other dependant packages).  
Thanks!

---

<div class="post-metadata">

**Author:** ![HaebichanGX](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/haebichangx/32/211_2.png) [@HaebichanGX](https://discourse.greatexpectations.io/u/HaebichanGX)\
**Post date:** [October 23, 2023, 5:26pm UTC](https://discourse.greatexpectations.io/t/error-in-expect-column-values-to-be-in-type-list-for-python-3-11/1430/2 "2023-10-23T17:26:56Z")

</div>

Hi @hk-ds I don’t seem to have this problem. That expectation is running fine on my end, just tried it out. I’m running python 3.11

 ![Screenshot 2023-10-23 at 1.26.43 PM](https://canada1.discourse-cdn.com/flex031/uploads/greatexpectations/original/1X/05f5961d6272b2662dd8d9cc9a8a4306a7ce4b9d.jpeg)
