error processing for SQL ratings sessions