Fixed incorrect error format for schema errors