"Episerver.Marketing.Connector.Framework.MarketingConnectorManager : There are currently no active connectors." error when attempting to send an email

Vote:
 

After a form is submitted, I get this error in the log:

2025-01-23T15:59:41,Error,club01mstr89mvrprod,6a20c5,638732447811386924,0,13148,223,Episerver.Marketing.Connector.Framework.MarketingConnectorManager : There are currently no active connectors.,
2025-01-23T15:59:41,Error,club01mstr89mvrprod,6a20c5,638732447814355691,0,13148,223,"EPiServer.Forms.Core.PostSubmissionActor.PostSubmissionActorBase : Failed to send email
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at EPiServer.Forms.Core.Internal.PlaceHolderService.<>c__DisplayClass8_0.<Replace>b__3(Match v)
   at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat)
   at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator)
   at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options)
   at EPiServer.Forms.Implementation.Actors.SendEmailAfterSubmissionActor.SendMessage(EmailTemplateActorModel emailConfig)",

Not sure how to start tracking this problem down. Any suggestions?

#335989
Jan 23, 2025 16:04
Vote:
 

Could you produce the problem locally? or could you deploy the Form.UI.pdb along with Form.UI.dll? that would give the exact line that caused the exception which would help the investigation

#336030
Jan 24, 2025 8:02
eperezjr - Jan 24, 2025 14:49
Yes, I can reproduce it locally. I'm not sure how I would view the log locally though. Sometimes these errors pop up in the event viewer, sometimes they don't. I'll try give that a try. but if you have any recommendations, that would be appreciated.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.