# TypeError: Could not serialize the function

**URL:** <https://discuss.ray.io/t/typeerror-could-not-serialize-the-function/4876>\
**Category:** Ray Client\
**Created:** [February 1, 2022, 1:16pm UTC](https://discuss.ray.io/t/typeerror-could-not-serialize-the-function/4876 "2022-02-01T13:16:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aditi\_Bhalawat](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/aditi_bhalawat/32/2071_2.png) [@Aditi\_Bhalawat](https://discuss.ray.io/u/Aditi_Bhalawat)\
**Post date:** [February 1, 2022, 1:16pm UTC](https://discuss.ray.io/t/typeerror-could-not-serialize-the-function/4876/1 "2022-02-01T13:16:30Z")

</div>

I trying to use ray for multiprocessing on my device.My code stores details of blocks present in ethereum block chain. I basically need it to work more fast as its taking much time.

While adding ray functionality to code I had this error.How could I resolve this?
