Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

400 bad request error when deployed with NuxtHub #376

Open
pieterjanmaes opened this issue Feb 12, 2025 · 0 comments
Open

400 bad request error when deployed with NuxtHub #376

pieterjanmaes opened this issue Feb 12, 2025 · 0 comments

Comments

@pieterjanmaes
Copy link

📚 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",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant