Skip to content

400 bad request error when deployed with NuxtHub #376

@pieterjanmaes

Description

@pieterjanmaes

📚 What are you trying to do?

Hi,

I want to use turnstile on a website I deploy with NuxtHub.

On my local host, everything works fine, but when I deploy with NuxtHub I always get

[nuxt] [request error] [unhandled] [400],[POST] "https://challenges.cloudflare.com/turnstile/v0/siteverify": 400 Bad Request
I make use of the custom endpoint and helper method.

🔍 What have you tried?

The provided Nuxt Turnstile examples.

ℹ️ Additional context

Dependencies:

  • "@nuxt/scripts": "^0.10.1"
  • "@nuxtjs/turnstile": "^0.9.12"
  • "@nuxthub/core": "^0.8.16"
  • "nuxt": "^3.15.4",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions