Getting server error while uploading an image in the advanced rich text editor.

Certified Senior Developer

a!localVariables(
  local!text,
  local!docIds,
  local!expPDF,
  {
    richTextEditorField(
      label: "Advanced Rich Text Editor ",
      labelPosition: "ABOVE",
      validations: {},
      height: "AUTO",
      richTextValue: local!text,
      richTextSaveInto: local!text,
      isReadOnly: null,
      showMenubar: null,
      includeHTMLlength: null,
      maxSize: 200000000,
      placeholder: null,
      enableSpellChecker: null,
      showUsageBar: null,
      enableFullpageOutput: null,
      allowImageUpload: true(),
      imageStorageConnectedSystem: cons!TAAA_RICH_TEXT_CONNECTED_SYS,
      uploadedImagesDocIds: local!docIds,
      exportedPdfId: local!expPDF,
      enableExportPdf: true(),
      hideBorderInReadOnly: null
    )
  }
)

Connected system:

  Discussion posts and replies are publicly visible