stream wrapper public /private not found Error
I had this problem too after some coding with file_save_data. And i solve it after clearing the cache and resaving the path in the file system configuration at admin/config/media/file-system.

My problem comes from an add field of file type, programmatically in an update.