# No access to text-moderation-007

**URL:** <https://community.openai.com/t/no-access-to-text-moderation-007/943930>\
**Category:** API\
**Tags:** api, moderation, api-moderation\
**Created:** [September 17, 2024, 2:57pm UTC](https://community.openai.com/t/no-access-to-text-moderation-007/943930 "2024-09-17T14:57:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsamson](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/dsamson/32/449186_2.png) [@dsamson](https://community.openai.com/u/dsamson)\
**Post date:** [September 17, 2024, 2:57pm UTC](https://community.openai.com/t/no-access-to-text-moderation-007/943930/1 "2024-09-17T14:57:42Z")

</div>

I am having an issue where sending requests to text-moderation-007 receives this error:  
Error code: 403 - {‘error’: {‘message’: ‘Project `proj_xxxxx` does not have access to model `text-moderation-007`’, ‘type’: ‘invalid\_request\_error’, ‘param’: None, ‘code’: ‘model\_not\_found’}}

I am sending requests through LiteLLM like so:  
response = moderation(input=message\_content, model=“text-moderation-stable”)  
But have also tried the python and curl requests available on the [API reference docs](https://platform.openai.com/docs/guides/moderation).

I had this issue before and it solved itself but a while before coming back.  
Has anyone solved this other than recreating the project? That isn’t working for me.

---

<div class="post-metadata">

**Author:** ![\_j](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/_j/32/766292_2.png) [@\_j](https://community.openai.com/u/_j)\
**Post date:** [September 17, 2024, 5:05pm UTC](https://community.openai.com/t/no-access-to-text-moderation-007/943930/2 "2024-09-17T17:05:59Z")

</div>

Two [content moderations](https://platform.openai.com/docs/api-reference/moderations/create) models are available: `text-moderation-stable` and `text-moderation-latest`

`client = openai.Client()`  
`response = client.moderations.with_raw_response.create(`  
` input="lick a duck!",`  
` model="text-moderation-latest")`  
`print(response.parse().model)`  
**`text-moderation-007`**

Same return for stable.

Check the rights of your project and your API key, along with the API key being from by a credit-funded API account organization. You can create a _user key_ that doesn’t depend on rights.

---

<div class="post-metadata">

**Author:** ![falkenbrew](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/falkenbrew/32/472843_2.png) [@falkenbrew](https://community.openai.com/u/falkenbrew)\
**Post date:** [October 26, 2024, 12:01pm UTC](https://community.openai.com/t/no-access-to-text-moderation-007/943930/3 "2024-10-26T12:01:45Z")

</div>

how can I fix this???

Error: 403 Project `***` does not have access to model `text-moderation-007`

```auto
const moderationResponse = await openai.moderations.create({
          model: "text-moderation-latest",
          input: text
      });

```

The text-moderation models are not listed in the project limits, but the error suggests I would need to fix something there.

---

<div class="post-metadata">

**Author:** ![aprendendo.next](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/aprendendo.next/32/721758_2.png) [@aprendendo.next](https://community.openai.com/u/aprendendo.next)\
**Post date:** [October 26, 2024, 7:06pm UTC](https://community.openai.com/t/no-access-to-text-moderation-007/943930/4 "2024-10-26T19:06:14Z")

</div>

I think you need to enable permissions on your api key.

[https://platform.openai.com/api-keys](https://platform.openai.com/api-keys)

---

<div class="post-metadata">

**Author:** ![falkenbrew](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/falkenbrew/32/472843_2.png) [@falkenbrew](https://community.openai.com/u/falkenbrew)\
**Post date:** [October 28, 2024, 3:19pm UTC](https://community.openai.com/t/no-access-to-text-moderation-007/943930/5 "2024-10-28T15:19:59Z")

</div>

Permissions has been set to All from the start. I’ve tried adjusting the permissions, but this does not change anything.

---

<div class="post-metadata">

**Author:** ![ioannist](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/ioannist/32/212515_2.png) [@ioannist](https://community.openai.com/u/ioannist)\
**Post date:** [August 27, 2025, 4:21am UTC](https://community.openai.com/t/no-access-to-text-moderation-007/943930/6 "2025-08-27T04:21:21Z")

</div>

I remember I ran into this bug about a year ago. A year later, I ran into it again. Text-moderation return the access error.

_All permissions are given to API key  
Project has access to ALL models_

Not that I did not try creating a new project (used an old one). Using the default account still does the trick.
