Cloudflare refusing my calls to upload VAPI
# support
s
VAPI's Cloudflare is intermittently returning a 403 status code, and it has already happened 46 times today, Example in the screenshot. What can I do to prevent this error? https://cdn.discordapp.com/attachments/1349051284312821820/1349051285080510529/image.png?ex=67d1b16a&is=67d05fea&hm=9d754bc6f18067f304bfb742b6a6c58860490434b80b9993f1737e4bb13aea7c&
@Vapi
@Vapi Support Bot
@User
@Shubham Bajaj
k
Cloudflare has blocked your IP address, considering it malicious.
s
Is it possible to remove my IP from the block list?
k
I notice this is a Cloudflare security log showing a blocked request to your Vapi API endpoint. Let me break down what's happening here and what it means for your API security. Security Event Details - **Endpoint**: POST request to - **Status**: 403 Forbidden (blocked) - **User Agent**: "FernDocsProxy" Why Cloudflare Blocked the Upload Looking at the file you're trying to upload, I can now understand why Cloudflare's WAF triggered multiple high-severity alerts: 1. **HTML Content with Embedded Elements**: The file contains extensive HTML markup including scripts, tables, and various formatting elements that can trigger security filters 1) **JavaScript Components**: There appear to be JavaScript functions and onclick events throughout the content that can trigger XSS (Cross-Site Scripting) detection rules 1. **Form-like Structures**: The presence of product listings with pricing information and "Add to Cart" functionality might have triggered SQL injection concerns 1) **Large File Size**: The file appears to be quite large (the system notes 87KB remaining), which can sometimes trigger additional scrutiny
Possible Solutions If you need to upload this type of content through your API: 1. **Content Sanitization**: Consider sanitizing the HTML before upload to remove potentially problematic elements while preserving the content you need 2. **Content Chunking**: Breaking the upload into smaller pieces might help avoid triggering some security threshold
s
gotcha tks