# API: a 403 error occurs with the Cloudfare response

**URL:** <https://community.openai.com/t/api-a-403-error-occurs-with-the-cloudfare-response/165087>\
**Category:** API\
**Created:** [April 17, 2023, 11:04pm UTC](https://community.openai.com/t/api-a-403-error-occurs-with-the-cloudfare-response/165087 "2023-04-17T23:04:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gelios.online](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/gelios.online/32/75432_2.png) [@gelios.online](https://community.openai.com/u/gelios.online)\
**Post date:** [April 17, 2023, 11:04pm UTC](https://community.openai.com/t/api-a-403-error-occurs-with-the-cloudfare-response/165087/1 "2023-04-17T23:04:21Z")

</div>

Periodically, several times a day, when accessing the API, a 403 error occurs with the Cloudfare response like this:

"Sorry, you have been blocked  
You are unable to access [api.openai.com](http://api.openai.com)…

Cloudflare Ray ID: xxxxxx • Your IP: xxx.xxx.xxx.xxx "

IP: xxx.xxx.xxx.xxx - here is our backend server.  
We use integration with [api.openai.com](http://api.openai.com)

The rest of the API time works fine, responses to requests come. We have not changed the IP, the request format is the same.

I sent a request to OpenAI support, they are silent for a long time.  
And integration is already used by us in a working project.

What could be the reason?

---

<div class="post-metadata">

**Author:** ![gutz](https://avatars.discourse-cdn.com/v4/letter/g/85f322/32.png) [@gutz](https://community.openai.com/u/gutz)\
**Post date:** [April 28, 2023, 7:20am UTC](https://community.openai.com/t/api-a-403-error-occurs-with-the-cloudfare-response/165087/2 "2023-04-28T07:20:45Z")

</div>

I have the same problem. Inconsistent, but happening a lot.  
Very frustrating.

# Sorry, you have been blocked

## You are unable to access [api.openai.com](http://api.openai.com)

## Why have I been blocked?

This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

## What can I do to resolve this?

You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.
