Add error response for media upload