Record Example fails with FMOD_ERR_INVALID_HANDLE

Working with the Record FMOD core api example attached with debugging. I keep running into this error on this line of code:

            result = channel[13]->getPosition(&playPos, FMOD_TIMEUNIT_PCM);

Not sure why it does this.

Is channel[13] non null and did it return FMOD_OK when you played the sound that created it?

I recently changed my code around using the record enumeration example i was able to overcome my issue and was able to have delayed recording playback. At the time channel[13] was non null but it skipped this line of code through its first fire of execution

if (!channel && samplesRecorded >= adjustedLatency)
{
result = system->playSound(sound, 0, false, &channel);
ERRCHECK(result);
}

So it never was able to play the sound.