Yes, correct! using a table instead of a view fixed the error

Thanks