Error out if id is not set in request