A lot of banks delay deposits made in ATMs, not to mention technical issues. If at all possible you should avoid depositing money in one of the machines.