This is caused by attempting to execute a step that requires an active contact (e.g. accept, play prompt, select resource, etc). If you are stepping through the script there is no active contact. You can either add code to skip past these steps; or, load the script to an application and perform a reactive debug instead.