Skip to content

That request type is not allowed: Invalid request type #55

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

You must be logged in to vote

Thank you for catching this. This error is what happens when the method (GET/POST/PUT) isn't correct.

My guess is that you have the latest Lua code, which sends a POST, but the Go binary hasn't been rebuilt, so the endpoint is still expecting a GET (this was changed recently). I need to adjust the build process so that the binary is force-rebuilt even when it already exists, when someone updates the plugin.

I've just pushed up those changes directly to the main branch. Can you update to the latest version of the plugin? It should automatically rebuild when you close and reopen Neovim, but if not, then run this:

:lua require("gitlab.server").build(true)

Does that address the problem?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by iRootPro
Comment options

You must be logged in to vote
2 replies
@harrisoncramer
Comment options

@iRootPro
Comment options

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