Template ID was not set as input to WIWRTPG (WritePage).
The low-level function handling the generation of the HTML page has been called without any specification of the template to use.
Unless the WIWRTPG function has been called without using the RPGDeveloper WritePage API, it is an error in the API - contact Websydian Support.