Different machines may run into different errors. This was much more common a few years ago, but Bitcoin and other cryptocurrency ATMs have since undergone a lot of improvements and are now very reliable. However, the best option is to contact the bitcoin ATM operator of the machine you used so that they can resolve the issue for you. Typically, you can find this information on the machine you are using.