SAP Knowledge Base Article - Public

3124376 - Error message when saving a custom plugin - Recruiting Marketing

Symptom

When saving a custom plugin, the following error is shown : The custom plugin is too large to save. Reduce its size and try again. It is required to remove all raw images and raw videos irrespective of size.

Environment

SAP SuccessFactors Recruiting Marketing

Cause

Issue with the content or the size of the custom plugin 

Resolution

This error could be caused by either of these issues :

1 - The size of the custom plugin is too large:
The limit is now (as of 2H2021) set to 2MB per plugin. (this will be updated in the guide shortly)
This is the equivalent of approximately 1,500,000 characters. If your custom content is too large, consider the following possible solutions:
• Minify the code for your custom plugin to reduce all unnecessary characters from your code.
• Split your custom plugin in half, or in smaller increments. You can have multiple custom plugins on a single page, as long as each is no larger than 2MB.
• Host the code externally and link to that script.

2 - The custom plugin contains unsupported content such as embedded images or videos
The component doesn't support Base64 images, URI videos, or data URI images. 
If there is any data URI image or video, it will fail to save irrespective of size.
Code such as data:image or data:video in custom plugins will cause the error.
The best practice is to avoid embedding images altogether, and to use a content delivery network to display your images instead.

Note that the code will be reworked to trigger different error messages depending on the issue at play with the next release (1H2022). This has been taken up as a change by Product Management.

Keywords

KBA , LOD-SF-RMK-CSB , Career Site Builder , Problem

Product

SAP SuccessFactors Recruiting all versions