Requests by googlebot and postman are receiving 405 responses (Method Not Allowed)

Answer these questions to help the Community help you with Security questions.

What is the domain name?

ps2nostalgia.win

Have you searched for an answer?
yep

Please share your search results url:

When you tested your domain, what were the results?
I don’t understand this question.

Describe the issue you are having:
I’m trying to request indexing with Google’s URL Inspection tool and each time I do, it runs a live test on the url and it fails. Looking at the logs I see that i’m returning 405 but it is not in my code. It seems like one of cloudflare’s security layers is doing this on my behalf. I tried with postman too because i thought it may have to do with user agents. Postman requests also receive 405s even if I set the user-agent to match my browser requests.

For SEO, google URL inspection tool says “Failed: Blocked due to other 4xx issue”

What error message or number are you receiving?

What steps have you taken to resolve the issue?

  1. Created a Skip rule in my websites Security/WAF Custom Rules section. I added the key GoogleBot user-agent values and postman’s user-agent value. I can see the rule getting picked up in the list of Firewall Events for postman requests and the Skip occurs but the request still responds with a 405. Googlebot requests don’t even get caught by this rule when I look at Firewall Events.
  2. Googling around
  3. reading cloudflare community responses

Was the site working with SSL prior to adding it to Cloudflare?
I never hosted it before adding it to Cloudflare

What are the steps to reproduce the error:

  1. try hitting my website with postman… just a simple GET request to the root domain

Have you tried from another browser and/or incognito mode?
yep

Please attach a screenshot of the error:

I have more images but i’m only allowed to post one because i’m a new user.

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