Post to /siteverify endpoint returns 404

  1. Everything was setup and working fine for several months, almost a year
  2. No code or configuration changes were made before it stopped working
  3. This is URL we are posting to: https://challenges.cloudflare.com/
    turnstile/v0/siteverify
  4. Sample post request
    {“secret”:“0x4AAAAAAA*************************”,“response”:“0.ArpE5qDnx6HZ9I8ekDfNUFKhwMxkRIw5sKCCWe_OmsyzG8k5npsGlQMPYdEUMIBPtd4FquPnTf8rmIZxfsWJO1wcHE4f6CcJQPEFWrsKUcAapmtArGL5J9MIZa2DDkN4C-Bn6OWZ_R4v7L68uBlKe5Sa3p5nEs7SQ2-HB9nRQMJCTdI1lpb2xyFFtZ11oqGm3UliZa2-gKgiN99qCOKmuJmiDFacJU71FSWzpaPDSjVSPDj9tsB-d-NLnfVftcNR1kcw7mN2Pkpb9EUgIM4r4IUdZmjctw8ORO-B11CfSeTMITyif7HDGVHuAcHWxBJnAuxi06anFOGFCpCTG5E9udim6QJuAcptbcU_SZLUrXp-jACJadRPdmFWvm6ktrbKgNUo_L9uGHNwFIGXeiD_DxkZAKznimbExGLTFN1CuC8.hTmq3J2NsMDXf07qbBqvRw.782d74be93131b023b184ddb2419d79dea2319b4c6f92da0db6b1cc793ef8102”,“remoteip”:“127.0.0.1”}
  5. The response status is 404, the “Response” property in the request body is just “Invalid”

Resolved! We were posting to “https://challenges.cloudflare.com/
turnstile/v0/siteverify/” with a trailing “/”. It was working fine this way until about 3 weeks ago when it started erroring out. Once we removed the trailing “/”(“https://challenges.cloudflare.com/
turnstile/v0/siteverify”), everything is working again.

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