spec out error path
fix variable name in error error
decode the error response