# Enabling memory to track is query is processed throws error

**URL:** <https://community.crewai.com/t/enabling-memory-to-track-is-query-is-processed-throws-error/3716>\
**Category:** Crews\
**Tags:** openai, crewai, memory\
**Created:** [February 10, 2025, 10:04pm UTC](https://community.crewai.com/t/enabling-memory-to-track-is-query-is-processed-throws-error/3716 "2025-02-10T22:04:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priti\_Solanki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/priti_solanki/32/1238_2.png) [@Priti\_Solanki](https://community.crewai.com/u/Priti_Solanki)\
**Post date:** [February 10, 2025, 10:04pm UTC](https://community.crewai.com/t/enabling-memory-to-track-is-query-is-processed-throws-error/3716/1 "2025-02-10T22:04:55Z")

</div>

Hi ,

I enabled in crew.py memory=True , it return following error

ERROR:root:Error during short\_term search: APIStatusError. **init** () missing 2 required keyword-only arguments: ‘response’ and ‘body’  
ERROR:root:Error during entities search: APIStatusError. **init** () missing 2 required keyword-only arguments: ‘response’ and ‘body’

if I remove the setting then I this error is fixed.

Any clue what I am missing. Please let me know how cna i check if query is processed and no more agent assignment is needed.

---

<div class="post-metadata">

**Author:** ![Anish\_Shah](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/anish_shah/32/1685_2.png) [@Anish\_Shah](https://community.crewai.com/u/Anish_Shah)\
**Post date:** [March 28, 2025, 2:28pm UTC](https://community.crewai.com/t/enabling-memory-to-track-is-query-is-processed-throws-error/3716/2 "2025-03-28T14:28:01Z")

</div>

Recieving this Error during short\_term search & entities & save: [WinError 206] The filename or extension is too long: deviation\_crew = Crew(  
agents=[primary\_agent, identification\_agent, scope\_impact\_agent, investigation\_agent, remediation\_agent, effectiveness\_agent, report\_agent, final\_agent],  
tasks=[primary\_task, identification\_task, scope\_impact\_task, investigation\_task, remediation\_task, effectiveness\_task, report\_task, final\_task],  
process=Process.sequential,  
planning=True,  
planning\_llm=planning\_llm,  
verbose=True,  
memory=True,  
embedder={  
“provider”: “bedrock”,  
“config”: {  
“session”: boto3\_session,  
“model”: “amazon.titan-embed-text-v2:0”,  
“vector\_dimension”: 1024  
}  
},  
)

---

<div class="post-metadata">

**Author:** ![kenpachi](https://avatars.discourse-cdn.com/v4/letter/k/87869e/32.png) [@kenpachi](https://community.crewai.com/u/kenpachi)\
**Post date:** [April 14, 2025, 8:01am UTC](https://community.crewai.com/t/enabling-memory-to-track-is-query-is-processed-throws-error/3716/3 "2025-04-14T08:01:10Z")

</div>

Hello, did you get any answer for this issue ? I got the same
