Removed URL option and emit error on server when requests error