Connecting with parameters causing error

I believe it has to do with how you call the Connect with custom parameters, see this solution here: