Skip to content

405 (Method Not Allowed) when using Server Actions #549

Closed Answered by eliw00d
eliw00d asked this question in Q&A
Discussion options

You must be logged in to vote

I realized that I needed to have the page.tsx use the edge runtime and then created a separate Client Component named form.tsx that page.tsx uses instead. That fixed it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sha256
Comment options

Answer selected by eliw00d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants