Why are you passing a varchar value to a parameter you are using as an integer?
Because that is what you are doing - when you do an integer comparison:
if(@Status!=0 AND @GroupId = 0)
the system attempts to convert the string in @Status to an integer value. And in this case, it fails becuase whatever you passed isn't an integer.
Either change the test to compare strings:
if(@Status != '0' AND @GroupId = 0)
Or better, find out what is in your dropdown list and either correct the source, or check for that.