Creating idp results with HTTP 400 error

Change-Id: Id908595bbf05cd32f0efe82209873bccc2a74fea