An Auxiliary Application has failed to register (and run) in Creo Parametric.
This error is supposed to be thrown due to at least one of the following problems:
Improper license (check whether sth. in your code requires an additional license), Coding (check for required code structure and content), Library linking (check the guide whether a certain library is supported in certain mode), Library conflict (do not mix synchronous and asynchronous mode libraries) or expired certificates (a developer/vendor to update Third Party applications certificates).
Please check this Case Solution article for details:
CS220487 Error: Foreign program "XXX" failed to initialize: code 1 when launching Creo Parametric
For further assistance, please reach out to PTC Technical Support by opening a new case for Creo Parametric Toolkit. Remember to include your example code and setup details.