Checking for specific error codes when getting photos to handle when we potentially overrun the photos.