fix missing non mandatory attrbute in error object