Fix error message to use correct params

The string interpolation at the moment uses non-existant params