SAP Knowledge Base Article - Public

3597449 - Unexpected CPQ Environment Failure: NameError Exceptions in Event Logs

Symptom

  • Multiple errors are currently occurring in the SAP CPQ Environment. 
  • Users are unable to proceed with quote creation or processing due to these errors.
  • No recent changes or deployments have been identified that could have triggered this behavior.
  • Event logs are showing error messages such as:
    “NameError: name 'str' is not defined”,
    “name 'False' is not defined”,
    “name 'True' is not defined”, etc.

Environment

SAP Sales Cloud CPQ

Reproducing the Issue

  1. Login to the SAP CPQ environment.
  2. Try to proceed with a quote.
  3. Observe the errors.
  4. Try to run a simple ironpython command in the script workbench; error is observed in the Traces.

Cause

If there was no upgrade done on the CPQ side, and no changes done in the UI templates or scripts on your side, then the issue could be with the users' browsers.

Resolution

Clearing the browser cache and cookies resolves the issue for affected users. Please instruct them to perform this step.

See Also

Keywords

SAP CPQ, Production Environment, Errors, Quote, Browser Cache, Cookies, Scripts, NameError, name 'str' is not defined, name 'False' is not defined, name 'True' is not defined , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem

Product

SAP CPQ all versions