As mentioned above the Activity encountered other type of files when processing hence we were receiving the error.
In order to resolve, you could place other types of file (pdf and python) in another folder and check or you could do the vice versa and place only the image in a different folder and use that folder as the input for the activity.
Let us know if you are still facing issues after file/directory change.