# Workflow Execution History

**URL:** <https://community.temporal.io/t/workflow-execution-history/1860>\
**Category:** Community Support\
**Tags:** python-sdk\
**Created:** [April 1, 2021, 9:14pm UTC](https://community.temporal.io/t/workflow-execution-history/1860 "2021-04-01T21:14:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![qazi](https://avatars.discourse-cdn.com/v4/letter/q/a4c791/32.png) [@qazi](https://community.temporal.io/u/qazi)\
**Post date:** [April 1, 2021, 9:14pm UTC](https://community.temporal.io/t/workflow-execution-history/1860/1 "2021-04-01T21:14:21Z")

</div>

@firdaus  
am trying to get execution history of a workflow by using _get\_workflow\_execution\_history_ function. Nothing seems to happen. The program just stops  
Here is code snippet. Am I doing something wrong here?

```
request = GetWorkflowExecutionHistoryRequest(namespace=NAMESPACE,
                                                 execution=WorkflowExecution(workflow_id='mando-2021-04-01 14:20:19.255215', run_id='53775fb3-93eb-46a8-9275-24febc6f51a6'))
    response = await client.service.get_workflow_execution_history(request=request)
    print('response ******************')
    print(response.to_json())

```

Can you some example

---

<div class="post-metadata">

**Author:** ![firdaus](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/firdaus/32/48_2.png) [@firdaus](https://community.temporal.io/u/firdaus)\
**Post date:** [April 2, 2021, 7:51pm UTC](https://community.temporal.io/t/workflow-execution-history/1860/2 "2021-04-02T19:51:52Z")

</div>

Try this example:

[https://onepointzero.app/workflows-in-python-using-temporal/#\_querying\_workflow\_history](https://onepointzero.app/workflows-in-python-using-temporal/#_querying_workflow_history)

Let me know if that doesn’t work out for you.

---

<div class="post-metadata">

**Author:** ![qazi](https://avatars.discourse-cdn.com/v4/letter/q/a4c791/32.png) [@qazi](https://community.temporal.io/u/qazi)\
**Post date:** [April 2, 2021, 11:19pm UTC](https://community.temporal.io/t/workflow-execution-history/1860/3 "2021-04-02T23:19:20Z")

</div>

I am afraid it is still not working. I pretty took the code as is but seems like it once it get to execution\_history line  
`*r = await client.service.get_workflow_execution_history(request=request)*`  
Nothing happens. The program stops doing anything. No exceptions either

---

<div class="post-metadata">

**Author:** ![firdaus](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/firdaus/32/48_2.png) [@firdaus](https://community.temporal.io/u/firdaus)\
**Post date:** [April 2, 2021, 11:25pm UTC](https://community.temporal.io/t/workflow-execution-history/1860/4 "2021-04-02T23:25:23Z")

</div>

Can you share the non sensitive parts of your code.

---

<div class="post-metadata">

**Author:** ![firdaus](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/firdaus/32/48_2.png) [@firdaus](https://community.temporal.io/u/firdaus)\
**Post date:** [April 5, 2021, 2:30am UTC](https://community.temporal.io/t/workflow-execution-history/1860/5 "2021-04-05T02:30:50Z")

</div>

For the record, this happens when betterproto is installed along side betterproto-for-temporal-python-sdk. In this situation, betterproto will take precedence and since we use the same package names it might not contain the bug fixes required (recursive message support) to properly work with the Temporal GRPC spec.

If you see an error like

```auto
RecursionError: maximum recursion depth exceeded while calling a Python object

```

Check that you didn’t install betterproto separately.
