# litellm.ContentPolicyViolationError: AzureException - Error code: 400

**URL:** <https://community.crewai.com/t/litellm-contentpolicyviolationerror-azureexception-error-code-400/809>\
**Category:** CrewAI Community Support\
**Tags:** openai, crewai\
**Created:** [October 15, 2024, 1:17pm UTC](https://community.crewai.com/t/litellm-contentpolicyviolationerror-azureexception-error-code-400/809 "2024-10-15T13:17:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akash](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@Akash](https://community.crewai.com/u/Akash)\
**Post date:** [October 15, 2024, 1:17pm UTC](https://community.crewai.com/t/litellm-contentpolicyviolationerror-azureexception-error-code-400/809/1 "2024-10-15T13:17:02Z")

</div>

Retrieving the content from the database by agent and task, it is working fine with my own tool. Then I am trying to send this context for further enhancement, but I am getting the error for litellm.ContentPolicyViolationError with severity as medium. How I can avoid filtering of this content. Currently I am getting response as None type

---

<div class="post-metadata">

**Author:** ![Dabnis](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@Dabnis](https://community.crewai.com/u/Dabnis)\
**Post date:** [October 15, 2024, 1:57pm UTC](https://community.crewai.com/t/litellm-contentpolicyviolationerror-azureexception-error-code-400/809/2 "2024-10-15T13:57:19Z")

</div>

> [@Akash](#):
>
> litellm.ContentPolicyViolationError

Hi @Akash,  
It is explained in detail and how to solve your issue [here](https://docs.litellm.ai/docs/proxy/reliability) 🫰

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex025/uploads/crewai/original/1X/ecda97e72f77c7100e0a761444b1c991925cc789.png) [@system](https://community.crewai.com/u/system)\
**Post date:** [October 24, 2024, 5:20am UTC](https://community.crewai.com/t/litellm-contentpolicyviolationerror-azureexception-error-code-400/809/3 "2024-10-24T05:20:26Z")

</div>

Closed on October 24, 2024, 5:20am UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
