Thank you for the information.
In general, this error occurs for security reasons, and it is connected to the MVC framework. The difference may be coming from the difference MVC version or .NET framework version.
Also, if the type is set to POST, the Grid should make post requests, Please ensure that the error is not caused by a different request which is GET. Please inspect the network tab to check the request type.
Additionally, it is recommended to add the AllowsGet behavior like this:
If the issue still occurs, please provide more details and I will gladly assist.