It could be anything, but I would start with looking at....
1. switch the outlet it is plugged into
2. check the power cord
3. check the breaker (if you can)
4. see if it has a loose wire that is catching on the moving input bed
If not one of these, it is probably internal, maybe a loose wire.