Bad parameter: idFlag is not in an acceptable format.