Apple TV photo library scopes?

I keep getting an error message on my Apple TV that says something along the line of can’t sync photos as there are unsupported scopes and must be cleaned. I have turned off photo library on the Apple TV but the error keeps persisting. Does anyone know what this is and how to fix?