Specific file names on upload returns 403

We recently discovered that some files return 403 forbidden access is denied on upload.

For example a file named 1–.pdf

The issue doesn’t happen if it is only – or 1-

Why is this happening?

Hi,

Cloudflare does not generate any 4xx errors, so this would indicate something is not configured correctly with your hosting provider or your client is sending something incorrect. When this happens, in your browser you’ll see the message “Error 403: Forbidden”. If you’ve recently upgraded from a Free account to a Pro subscription; the 403 error may be a temporary error related to an issue while replacing the certificate from the Free account with a certificate for the Pro account. If not:

  • Try using a different browser, or use a private/incognito window. Your DNS cache may be pointing to the origin server.
  • If you’re only seeing the error from certain countries. Check the origin server configuration for a country block.

Other successful troubleshooting suggestions can be found in this Community Tip. Let us know if you continue to see issues after trying these tips, we’re happy to help further.

1 Like

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