error does not follow proper structure.