Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Cannot load mashup due to SECU0019 exception

Updated on December 13, 2022
Applicable to Theme Cosmos applications

Learn about unauthorized request issues that might prevent your mashup from loading successfully.


A mashup does not load and the system displays the SECU0019 issue for an unauthorized or unregistered request.


The mashup uses unregistered parameters. If you manually change a parameter in the mashup snippet, the system produces a 403 error.


  • As a best practice, do not change the parameters in the mashup snippet.
  • When you create a mashup, enable the passing of dynamic parameters by turning on the Allow passing dynamic parameters option. This option registers mashup parameters for you.
  • Alternatively, use a script to re-register the pzIncludeMashupScripts activity and use the parameters that you updated after channel generation.
    For example: See the following sample code:
    com.pega.pegarules.priv.context.PegaThread prThread = (com.pega.pegarules.priv.context.PegaThread) tools.getThread();
    java.util.Map<String, String> mashupScriptsMap = new java.util.HashMap<String , String>();
    }catch(Exception e){
    oLog.error("Exception while registering the mashup requests.");
  • Previous topic Troubleshooting issues with loading mashups
  • Next topic Cannot load the same mashup again based on conditions

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us