Don't overlook the 'obvious'
The mains lead (cord) on any vacuum is subject to lots of movement, pulling, etc. they are prone to failure, usually where they enter the 'strain relief'at either end. If it's a re-wireable plug, have you checked for loose screws/fuse (if fitted in U.S. plugs)...