change failed url to media_id