Dishwasher starts but after a minute goes to Drain/Cancel and shuts off

I have a KUDS30FXSS5 Kitchenaid that when I start it seems to actually start but after a minute or two of running it switches to Cancel/Drain and then shuts off. Any ideas?