parse error response for code to only change roles on 487