Error handling on photo publish/delete