Added error exception for ivalid media upload
Merge pull request #695 from vksvenkat/master

Added error exception for ivalid media upload