Set ErrorStore to API Resource instead of array.