Fix error at RequiredError. Add required fields in types to run tests.