Locally the function runs and well, but on preview and production I get a 405 error code
Unanswered
Mugger Crocodile posted this in #help-forum
Mugger CrocodileOP
- Its hard to debug since locally the code works but when I push it to vercel preview and production, the function call results in a 405 error on the page and the router does not push to the specified path
2 Replies
@Mugger Crocodile - Its hard to debug since locally the code works but when I push it to vercel preview and production, the function call results in a 405 error on the page and the router does not push to the specified path
Acorn-plum gall
Did you ever figure this out? I'm finding myself in a similar predicament \
Golden paper wasp
This 405 stuff is a disaster. I am in the same boat. 12 hours into researching. Works locally, doesn't work in production.