I also fought this bug for days. I'm building a C# frontend that connects to a AWS WebSocket API. The problem for me finally came down to the fact that my C# request object was using a capitalized "Action" property. Changing the property name to "action" (all lowercase) resolved my issue.