queryParam is giving junk value in scala

Please provide a proper reproducer as described here, eg a project on GitHub anybody can then run, typically against a public website.

As is, there’s no way to figure out your issue from the fragments you provide.