Issue with Hazel 5 and Photos App

Hi all,
I have a rule that watches a folder, check for images (kind is Image) and then is supposed to import them into Photos.
Running v5.0.5 and it has stopped working. I get an error message "Photos import failed
Could not add file xxx.png to Photos.
Any ideas why this has stopped working?
Thanks.
I have a rule that watches a folder, check for images (kind is Image) and then is supposed to import them into Photos.
Running v5.0.5 and it has stopped working. I get an error message "Photos import failed
Could not add file xxx.png to Photos.
Any ideas why this has stopped working?
Thanks.