The number of received values (6) is not equal to the number of arguments (5) in the method 'connect

I’m trying to upgrade Vaadin version 23.2.9 to 23.3.3, but I keep encountering the above error when running the app after I update the POM and clean/build the frontend. Is there any specific upgrade path I should be following to avoid this error?

Full error: The number of received values (6) is not equal to the number of arguments (5) in the method ‘connectClient’ declared in ‘com.vaadin.flow.component.internal.JavaScriptBootstrapUI’

Make sure you don’t have mismatching versions in your class path or some Browser cache

Have cleared cache and tested in Incognito on the browser side. Have also tried wiping the project from disk entirely and pulling from source control on a separate machine, but the error persists. Anything I could be missing?

Please verify that you have matching versions of flow-server and flow-client in your Dependency hierarchy. I would also recommend to go to the latest 23.3.5 allowing you to get rid of cache from the already downloaded version. Keep in mind that you shouldn’t manage all Dependency versions by yourself and just use the Vaadin BOM to pull the correct versions. If you use add-ons, make sure to exclude e.g. transitive Vaadin / Flow dependencies from them - could be possible that one of those adds an older in-compatible version.

Am using the Vaadin BOM atm, but let me try 23.3.5