Error checking and camera picture